Changeset e7cb20 in git


Ignore:
Timestamp:
Jun 13, 2013, 12:41:56 PM (10 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', '0604212ebb110535022efecad887940825b97c3f')
Children:
d775e519fa82c002572d593226a06c894ef9be59
Parents:
731d94de85b21c435e849693855abd08e2f50aea
Message:
chg: staticdemo: demo of a statically linked C-module
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • Singular/iplib.cc

    r731d94d re7cb20  
    730730}
    731731
    732 int huhu_mod_init(SModulFunctions*){ return 0; }
     732void staticdemo_mod_init(SModulFunctions*){ PrintS("init of staticdemo\n"); }
    733733
    734734#define SI_GET_BUILTIN_MOD_INIT(name) \
  • libpolys/polys/mod_raw.h

    r731d94d re7cb20  
    5353/// use @c add(name) to add built-in library to macro
    5454#define SI_FOREACH_BUILTIN(add)\
    55   add(huhu)\
     55  add(staticdemo)\
    5656  SI_BUILTIN_PYOBJECT(add)
    5757
     58#define SI_MOD_INIT(name) name##_mod_init
    5859
    5960#endif /* MOD_RAW_H */
Note: See TracChangeset for help on using the changeset viewer.