Changeset 9eb3048 in git for Singular/iplib.cc
- Timestamp:
- Jul 9, 2013, 10:29:22 PM (11 years ago)
- Branches:
- (u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
- Children:
- 741c7090dd3b618a24f57b75f1a21c3a19ce119f
- Parents:
- 86919e90eae002225109c1b5b9d94a6544b1a907
- git-author:
- Oleksandr Motsak <motsak@mathematik.uni-kl.de>2013-07-09 22:29:22+02:00
- git-committer:
- Oleksandr Motsak <motsak@mathematik.uni-kl.de>2013-07-09 22:31:47+02:00
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Singular/iplib.cc
r86919e r9eb3048 733 733 } 734 734 735 int staticdemo_mod_init(SModulFunctions*){ PrintS("init of staticdemo\n"); }735 int staticdemo_mod_init(SModulFunctions*){ PrintS("init of staticdemo\n"); return (0); } 736 736 737 737 #define SI_GET_BUILTIN_MOD_INIT(name) \ 738 int name##_mod_init(SModulFunctions*); \739 if (strcmp(libname, #name ".so") == 0) { return name##_mod_init; }738 int SI_MOD_INIT(name)(SModulFunctions*); \ 739 if (strcmp(libname, #name ".so") == 0) { return SI_MOD_INIT(name); } 740 740 741 741 … … 1109 1109 return TRUE; 1110 1110 #else 1111 /* 1111 1112 typedef int (*fktn_t)(int(*iiAddCproc)(const char *libname, const char *procname, 1112 1113 BOOLEAN pstatic, 1113 1114 BOOLEAN(*func)(leftv res, leftv v))); 1115 */ 1114 1116 SModulFunc_t fktn; 1115 1117 idhdl pl; … … 1188 1190 int iiAddCproc(const char *libname, const char *procname, BOOLEAN pstatic, 1189 1191 BOOLEAN(*func)(leftv res, leftv v)); 1192 /* 1190 1193 typedef int (*fktn_t)(int(*iiAddCproc)(const char *libname, const char *procname, 1191 1194 BOOLEAN pstatic, 1192 1195 BOOLEAN(*func)(leftv res, leftv v))); 1196 */ 1193 1197 // SModulFunc_t fktn; 1194 1198 idhdl pl;
Note: See TracChangeset
for help on using the changeset viewer.