spielwiese
Last change
on this file since cbdc7a4 was
cbdc7a4,
checked in by Hans Schoenemann <hannes@…>, 10 years ago
|
changed return value of mod_init from "grammar"-version to "all identifier"-Version
|
-
Property mode set to
100644
|
File size:
365 bytes
|
Line | |
---|
1 | #include <kernel/mod2.h> |
---|
2 | |
---|
3 | #include <Singular/mod_lib.h> |
---|
4 | #include <Singular/tok.h> |
---|
5 | |
---|
6 | class SModulFunctions; |
---|
7 | |
---|
8 | #ifndef STATIC_VERSION |
---|
9 | # error This is a demo static module. It is not supposed to be built dynamically... |
---|
10 | #endif |
---|
11 | |
---|
12 | #include <reporter/reporter.h> |
---|
13 | |
---|
14 | extern "C" int SI_MOD_INIT(staticdemo)(SModulFunctions*){ PrintS("init of staticdemo\n"); return (MAX_TOK); } |
---|
15 | |
---|
Note: See
TracBrowser
for help on using the repository browser.