/* This file is automatically generated - do not edit */ extern ILInt32 _IL_Minor_Add(ILExecThread * _thread, ILInt32 x, ILInt32 y); /* end proto.h */ /* This file is automatically generated - do not edit */ #if !defined(HAVE_LIBFFI) static void marshal_ipii(void (*fn)(), void *rvalue, void **avalue) { *((ILNativeInt *)rvalue) = (*(ILInt32 (*)(void *, ILInt32, ILInt32))fn)(*((void * *)(avalue[0])), *((ILInt32 *)(avalue[1])), *((ILInt32 *)(avalue[2]))); } #endif #ifndef _IL_Minor_suppressed IL_METHOD_BEGIN(Minor_Methods) IL_METHOD("Add", "(ii)i", _IL_Minor_Add, marshal_ipii) IL_METHOD_END #endif static ILEngineInternalClassInfo const internalClassTable[] = { #ifndef _IL_Minor_suppressed {"Minor", "Ursa", Minor_Methods}, #endif }; #define numInternalClasses (sizeof(internalClassTable) / sizeof(ILEngineInternalClassInfo)) /* end table.c */ /* eventhough this file was automatically generated I don't like many files * so here it is locally */ ILInt32 _IL_Minor_Add(ILExecThread * _thread, ILInt32 x, ILInt32 y) { return (x+y); /* and I call it an example */ }