fieker-DuValspielwiese
Last change
on this file since c0e2c36 was
85e68dd,
checked in by Hans Schönemann <hannes@…>, 16 years ago
|
*hannes: gcc 4.2
git-svn-id: file:///usr/local/Singular/svn/trunk@10634 2c84dea3-7e68-4137-9b89-c4e89433aadc
|
-
Property mode set to
100644
|
File size:
1.0 KB
|
Rev | Line | |
---|
[35aab3] | 1 | #ifndef MOD_RAW_H |
---|
| 2 | #define MOD_RAW_H |
---|
| 3 | /**************************************** |
---|
| 4 | * Computer Algebra System SINGULAR * |
---|
| 5 | ****************************************/ |
---|
[85e68dd] | 6 | /* $Id: mod_raw.h,v 1.4 2008-03-19 17:44:10 Singular Exp $ */ |
---|
[35aab3] | 7 | /* |
---|
| 8 | * ABSTRACT: machine depend code for dynamic modules |
---|
| 9 | * |
---|
| 10 | * Provides: dynl_open() |
---|
| 11 | * dynl_sym() |
---|
| 12 | * dynl_error() |
---|
| 13 | * dunl_close() |
---|
| 14 | */ |
---|
| 15 | |
---|
[7c91e4] | 16 | #include "structs.h" |
---|
[9ed245] | 17 | |
---|
| 18 | lib_types type_of_LIB(char *newlib, char *fullname); |
---|
| 19 | |
---|
[35aab3] | 20 | #if defined(HAVE_DL) |
---|
| 21 | #ifdef __cplusplus |
---|
| 22 | void* dynl_open_binary_warn(char* binary_name, const char* msg = NULL ); |
---|
[85e68dd] | 23 | void* dynl_sym_warn(void* handle, const char* proc, const char* msg = NULL ); |
---|
[35aab3] | 24 | #endif |
---|
| 25 | |
---|
| 26 | #ifdef __cplusplus |
---|
| 27 | extern "C" { |
---|
| 28 | #endif |
---|
| 29 | void * dynl_open(char *filename); |
---|
| 30 | // if handle == DYNL_KERNEL_HANDLE, then symbol is searched for |
---|
| 31 | // in kernel of program |
---|
| 32 | #define DYNL_KERNEL_HANDLE ((void*) 0x1) |
---|
[85e68dd] | 33 | void * dynl_sym(void *handle, const char *symbol); |
---|
[35aab3] | 34 | int dynl_close (void *handle); |
---|
| 35 | const char * dynl_error(); |
---|
| 36 | |
---|
| 37 | #ifdef __cplusplus |
---|
| 38 | } |
---|
| 39 | #endif |
---|
| 40 | |
---|
| 41 | #endif /* HAVE_DL */ |
---|
| 42 | #endif /* MOD_RAW_H */ |
---|
Note: See
TracBrowser
for help on using the repository browser.