[Openmcl-devel] CCL kernel coding style question

Pascal J. Bourguignon pjb at informatimago.com
Sun May 1 13:59:03 PDT 2016


Ron Garret <ron at flownet.com> writes:

>> (You may use grep -v export).
>
> How is that supposed to help?

For headers, it gives the list of functions with signatures.


> In fact, one of the reasons that the more compact style is useful is that you can find the definition of a function by doing:
>
>  grep function_name | grep ‘{‘
>
> The ccl kernel style makes it much harder to find the place where a given function is defined.

you can use grep -e ^function_name to find it.  All non-toplevel code
being indented, there should be a single match.

-- 
__Pascal Bourguignon__                 http://www.informatimago.com/
“The factory of the future will have only two employees, a man and a
dog. The man will be there to feed the dog. The dog will be there to
keep the man from touching the equipment.” -- Carl Bass CEO Autodesk




More information about the Openmcl-devel mailing list