Browse Source

* include/cln/modules.h (CL_CONCATENATE): New macro.

master
Richard Kreckel 23 years ago
parent
commit
e15e893f75
  1. 4
      ChangeLog
  2. 8
      include/cln/modules.h

4
ChangeLog

@ -1,3 +1,7 @@
2002-05-27 Richard Kreckel <kreckel@ginac.de>
* include/cln/modules.h (CL_CONCATENATE): New macro.
2002-05-10 Richard Kreckel <kreckel@ginac.de>
* doc/cln.tex (Building the library): Update recommendations for

8
include/cln/modules.h

@ -248,6 +248,12 @@
#define CL_REQUIRE(module)
#endif
// Concatenation of macroexpanded tokens.
// Equivalent to CL_CONCAT in src/base/cl_macros.h which we do not want
// to expose, however.
#define CL_CONCATENATE_(xxx,yyy) xxx##yyy
#define CL_CONCATENATE(xxx,yyy) CL_CONCATENATE_(xxx,yyy)
// Sometimes a link time dependency is needed, but without requirements
// on initialization order.
//
@ -267,7 +273,7 @@
abort(); \
} \
} \
dummy##_instance;
CL_CONCATENATE(dummy,_instance);
#endif
#endif /* _CL_MODULES_H */
Loading…
Cancel
Save