
14 Jan
2010
14 Jan
'10
4:41 p.m.
Neal Becker
Probably OT, but I'm trying to generate modules programmatically. Each module with be generated using -DSIMCASE=n and will create a module called ldpc_n.so.
I can't get this macro to work, this is my latest try:
#define SIMCASE 10 #define NAME ldpc_ ## SIMCASE #define MODULE_START BOOST_PYTHON_MODULE (NAME)
Later I have: MODULE_START { ... }
BOOST_PYTHON_MODULE is poorly written. It does not use BOOST_JOIN where it supposed to. I ended up rewriting it for our code. Gennadiy