175 |
/* note the import handler will deal with all the initfunc execution, etc etc */ |
/* note the import handler will deal with all the initfunc execution, etc etc */ |
176 |
result = (*(handler->importfn))(fp1,initfunc,partialpath); |
result = (*(handler->importfn))(fp1,initfunc,partialpath); |
177 |
if(result){ |
if(result){ |
178 |
CONSOLE_DEBUG("Error %d when importing external library of type '%s'",result,handler->name); |
//CONSOLE_DEBUG("Error %d when importing external library of type '%s'",result,handler->name); |
179 |
ERROR_REPORTER_HERE(ASC_PROG_ERROR,"Error importing external library '%s'",partialpath); |
ERROR_REPORTER_HERE(ASC_PROG_ERROR,"Error importing external library '%s'",partialpath); |
180 |
ospath_free(fp1); |
ospath_free(fp1); |
181 |
return 1; |
return 1; |