--- trunk/models/johnpye/extfn/extfntest.c 2006/04/16 13:43:44 465 +++ trunk/models/johnpye/extfn/extfntest.c 2006/04/16 15:07:48 466 @@ -1,9 +1,7 @@ #include -#define ASC_USE_IMPORTED_ERROR_REPORTER #include - #include #include @@ -27,19 +25,13 @@ */ extern int -DLEXPORT extfntest_register( - const CreateUserFunction_fptr_t CreateUserFunction_fptr - ,const ErrorReporter_fptr_t ErrorReporter_fptr -){ +DLEXPORT extfntest_register(){ const char *addone_help = "This is a test of the dynamic user packages functionality"; int result = 0; - extern ErrorReporter_fptr_t g_ErrorReporter_fptr; - g_ErrorReporter_fptr = ErrorReporter_fptr; - ERROR_REPORTER_HERE(ASC_PROG_NOTE,"Initialising EXTFNTEST...\n"); - result += (CreateUserFunction_fptr)("add_one", + result += CreateUserFunction("add_one", (ExtEvalFunc *)addone_prepare, (ExtEvalFunc **)addone_calc, (ExtEvalFunc **)NULL,