Download Firefox: WindowsMac OS X
logo       
Google Custom Search
    AddThis Social Bookmark Button

Re: can somebody show me how to document constants in C exts?: msg#00006

Subject: Re: can somebody show me how to document constants in C exts?
On Tuesday, March 8, 2005, 3:06:03 PM, Sam wrote:


> I'd like to document stuff like:

>   #ifdef      INADDR_ANY
>       sock_define_const("INADDR_ANY", INADDR_ANY);
>   #endif

> Any suggestions, or even a pointer to a C lib that has a number of
> consts documented in a way people like, so I can do it like that?

I've no idea, but my gut feeling is that this kind of documentation is
not supported.

> A lot just need to have their (possible, its sys dependent) existence
> listed.

> Or maybe I should just put example code that lists all the socket
> constants?

That seems like the best idea.

Cheers,
Gavin






<Prev in Thread] Current Thread [Next in Thread>