[Vm-dev] "small" proposal for platform code in the upcoming VMs

Eliot Miranda eliot.miranda at gmail.com
Wed Jan 19 20:18:24 UTC 2011


Hi All,

    one C coding convention I think is extremely useful for finding
definitions is to always put the name of a function (not its forward
declaration but its definition) on a newline, so that instead of writing e.g

static void recordKeyboardEventCarbon(EventRef event) {

you write

static void
recordKeyboardEventCarbon(EventRef event) {

This makes it really easy to find the sole definition in text editors and
using grep etc.

If people feel they could live with this convention could I be allowed to
make this change throughout the platform code base after code freeze and
before the release so that this convention will be available to us all in
the future?

best
Eliot
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/vm-dev/attachments/20110119/7b2109e4/attachment.htm


More information about the Vm-dev mailing list