diff options
Diffstat (limited to 'includes/DNInvoke.h')
-rw-r--r-- | includes/DNInvoke.h | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/includes/DNInvoke.h b/includes/DNInvoke.h new file mode 100644 index 0000000000..410bd640e1 --- /dev/null +++ b/includes/DNInvoke.h @@ -0,0 +1,55 @@ +/* + * C callable bridge to the .NET object model + * + * (c) 2003, sof. + * + */ +#ifndef __DNINVOKE_H__ +#define __DNINVOKE_H__ +#include "Dotnet.h" + +extern char* DN_invokeStatic ( char *assemName, + char *methName, + DotnetArg *args, + int n_args, + DotnetType resultTy, + void *res); +extern char* DN_getStatic ( char *assemName, + char *fieldClsName, + DotnetArg *args, + int n_args, + DotnetType resultTy, + void *res); +extern char* DN_setStatic ( char *assemName, + char *fieldClsName, + DotnetArg *args, + int n_args, + DotnetType resultTy, + void *res); +extern char* DN_createObject ( char *assemName, + char *methName, + DotnetArg *args, + int n_args, + DotnetType resultTy, + void *res); + +extern char* DN_invokeMethod ( char *methName, + DotnetArg *args, + int n_args, + DotnetType resultTy, + void *res); + +extern char* DN_getField ( char *methName, + DotnetArg *args, + int n_args, + DotnetType resultTy, + void *res); +extern char* DN_setField ( char *clsAndMethName, + DotnetArg *args, + int n_args, + DotnetType resultTy, + void *res); + +extern void stopDotnetBridge(void); + +#endif /* __DNINVOKE_H__ */ |