22 Mar
2021
22 Mar
'21
1:43 p.m.
The main issue addressed by the new directory organization is previously, any new API magically became part of the limited C API by default. It was more a "deny list" approach, than an "allow list" approach.
Now, you must decide in which file you put a new API. You can still add it to the "wrong API" by mistake, but you first have to think about which file is the most appropriate.
In vim, I'm used to type ":grep -R Include FUNCTION" to find a function definition. I'm not convient, but I'm used to it. To find the function implementation, it's simpler: I put the cursor on function name and I type CTRL+] thanks to ctags ("make tags"), or I type :tag FUNCTION.
Victor