Lisaac external C struct pointer and Enum

Xavier Oswald xoswald at gmail.com
Sun Apr 11 14:09:50 UTC 2010


Hi there,

Im working a lot on lisaac libs since 2 weeks.

Im wondering how you handle C struct pointers...

As an example, I have "My_struct* s;"
and have some C functions handling this struct.

Im wondering what's the best way to have My_Struct as a Prototype or something
else...

What do you think ?
BTW, what's your opinion about how to handle C enum ?


Some comments and piece of code as example are very welcomed ;)


Greetings,
-- 
 ,''`. Xavier Oswald (xoswald at debian.org)
: :' : GNU/LINUX Debian Developer <http://www.debian.org> 
`. `'  GPG Key: 1024D/88BBB51E
  `-   938D D715 6915 8860 9679  4A0C A430 C6AA 88BB B51E



More information about the Lisaac-devel mailing list