fieker-DuValspielwiese
Last change
on this file since 5480da was
33d539,
checked in by Kai Krüger <krueger@…>, 26 years ago
|
scanner for a quick check of singular-libraries.
git-svn-id: file:///usr/local/Singular/svn/trunk@1194 2c84dea3-7e68-4137-9b89-c4e89433aadc
|
-
Property mode set to
100644
|
File size:
1.2 KB
|
Rev | Line | |
---|
[33d539] | 1 | /* |
---|
| 2 | */ |
---|
| 3 | |
---|
| 4 | class procinfo; |
---|
| 5 | typedef procinfo * procinfov; |
---|
| 6 | |
---|
| 7 | class proc_singular |
---|
| 8 | { |
---|
| 9 | public: |
---|
| 10 | long proc_start; // position where proc is starting |
---|
| 11 | long def_end; // position where proc header is ending |
---|
| 12 | long help_start; // position where help is starting |
---|
| 13 | long body_start; // position where proc-body is starting |
---|
| 14 | long body_end; // position where proc-body is ending |
---|
| 15 | long example_start; // position where example is starting |
---|
| 16 | long proc_end; // position where proc is ending |
---|
| 17 | int proc_lineno; |
---|
| 18 | int body_lineno; |
---|
| 19 | int example_lineno; |
---|
| 20 | char *body; |
---|
| 21 | }; |
---|
| 22 | |
---|
| 23 | struct proc_object |
---|
| 24 | { |
---|
| 25 | int (*function)( void ); |
---|
| 26 | }; |
---|
| 27 | |
---|
| 28 | union uprocinfodata; |
---|
| 29 | |
---|
| 30 | union uprocinfodata |
---|
| 31 | { |
---|
| 32 | public: |
---|
| 33 | proc_singular s; // data of Singular-procedure |
---|
| 34 | struct proc_object o; // pointer to binary-function |
---|
| 35 | }; |
---|
| 36 | |
---|
| 37 | typedef union uprocinfodata procinfodata; |
---|
| 38 | |
---|
| 39 | typedef enum { LANG_NONE, LANG_SINGULAR, LANG_C } language_defs; |
---|
| 40 | |
---|
| 41 | class procinfo |
---|
| 42 | { |
---|
| 43 | public: |
---|
| 44 | char *libname; |
---|
| 45 | char *procname; |
---|
| 46 | language_defs language; |
---|
| 47 | short ref; |
---|
| 48 | char is_static; // if set, proc not accessible for user |
---|
| 49 | procinfodata data; |
---|
| 50 | }; |
---|
Note: See
TracBrowser
for help on using the repository browser.