summaryrefslogtreecommitdiff
path: root/libmodman/module.hpp
diff options
context:
space:
mode:
authornpmccallum <npmccallum@c587cffe-e639-0410-9787-d7902ae8ed56>2010-02-11 23:07:11 +0000
committernpmccallum <npmccallum@c587cffe-e639-0410-9787-d7902ae8ed56>2010-02-11 23:07:11 +0000
commite83c775dd53430a94090083386e61ba8d763fb3a (patch)
tree7940e038c48c158d7d18288233883718666c9382 /libmodman/module.hpp
parent95c890aeaf0033a0d8565f871eabfc16b6219226 (diff)
downloadlibproxy-e83c775dd53430a94090083386e61ba8d763fb3a.tar.gz
add smod everywhere
git-svn-id: http://libproxy.googlecode.com/svn/trunk@544 c587cffe-e639-0410-9787-d7902ae8ed56
Diffstat (limited to 'libmodman/module.hpp')
-rw-r--r--libmodman/module.hpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/libmodman/module.hpp b/libmodman/module.hpp
index ef339f9..39cab52 100644
--- a/libmodman/module.hpp
+++ b/libmodman/module.hpp
@@ -36,10 +36,10 @@
#define MM_MODULE_DEFINE __MOD_DEF_PREFIX struct libmodman::module __MM_DLL_EXPORT MM_MODULE_NAME[]
#define MM_MODULE_LAST { MM_MODULE_VERSION, NULL, NULL, NULL, NULL, NULL }
-#define MM_MODULE_RECORD(type, init, test, symb) \
- { MM_MODULE_VERSION, type::base_type(), init, test, symb, NULL }
+#define MM_MODULE_RECORD(type, init, test, symb, smod) \
+ { MM_MODULE_VERSION, type::base_type(), init, test, symb, smod }
-#define MM_MODULE_EZ(clsname, cond, symb) \
+#define MM_MODULE_EZ(clsname, cond, symb, smod) \
static bool clsname ## _test() { \
return (cond); \
} \
@@ -50,7 +50,7 @@
return retval; \
} \
MM_MODULE_DEFINE = { \
- MM_MODULE_RECORD(clsname, clsname ## _init, clsname ## _test, symb), \
+ MM_MODULE_RECORD(clsname, clsname ## _init, clsname ## _test, symb, smod), \
MM_MODULE_LAST, \
};