Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 Mar 2001 16:46:46 +0100 (CET)
From:      milunovic <milunovic@sendmail.ru>
To:        hackers@freebsd.org
Subject:   Little confused
Message-ID:  <Pine.BSF.4.21.0103151639550.1291-100000@scorpion.cosmos.all.net>

next in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE-----

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?

Vojislav Milunovic
milunovic@sendmail.ru

-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 5.0i for non-commercial use
Charset: noconv

iQEVAwUBOrDj6i3gPLld8IkLAQHu0AgAhYj8Rr2rdj4JENBMczExysebFi3MzzX3
Ca31TFfCD5DJAVksrzhmszHKFiCAA76Ry+n4aWnsnh92JKFdplI7jDHjzgWYiHJd
GyjsiSOnhizdalznDNarz2MwEn+/P5U96cX+/meNkK0DZ+Q4kJdd2e8WLiJboKFw
5w739DIFXCpJVpJ7dHTltbI8DzwTvJiFHRH1QpbCz4fsoyuOGr8DvrFTCvQp4v7X
fJqqAb7wNDHPc5UfG8rmDFKrjASPvsA6RMlkB+DOPfs5dZdqQrJJbauyaZvsvfHY
lE78PX/MAvukl5U88rDGGidFlWOpuEgvnGHLVZx2UbPJu5WEbqYUZw==
=m13h
-----END PGP SIGNATURE-----



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0103151639550.1291-100000>