milunovic wrote:
> 
> I'm reading kernel source,but I don't understand something like this ->
> 
> example:
> #define GG(x,y) \
>  static void * const blabla_##x_blabla_##y = &y;
> 
> As I see this should make something like this
> 
> GG(foo,bar) should make
>  static void * const blabla_foo_blabla_bar = &bar;
> 
> I never saw something like this in programs.Does anybody have any link
> where I could find more about this kind of making macros?

That's standard C. Kernighan&Ritchie (double sp?) comes to mind.

-- 
Daniel C. Sobral                        (8-DCS)
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]

        It's a rewarding life, but hey, somebody has to have all the fun,
right?

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to