/[ascend]/trunk/models/johnpye/extpy/extpy.c
ViewVC logotype

Diff of /trunk/models/johnpye/extpy/extpy.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1058 by johnpye, Sat Jan 6 23:14:11 2007 UTC revision 1059 by johnpye, Sat Jan 6 23:27:57 2007 UTC
# Line 74  extern ASC_EXPORT(int) extpy_register(){ Line 74  extern ASC_EXPORT(int) extpy_register(){
74      if(result){      if(result){
75          ERROR_REPORTER_HERE(ASC_PROG_ERR,"Failed to register import handler (error = %d)",result);          ERROR_REPORTER_HERE(ASC_PROG_ERR,"Failed to register import handler (error = %d)",result);
76      }      }
77    
78        ERROR_REPORTER_HERE(ASC_PROG_WARNING,"Loaded EXPERIMENTAL 'extpy' import handler.");
79        
80      return result;      return result;
81  }  }
82    
# Line 332  int extpy_import(const struct FilePath * Line 335  int extpy_import(const struct FilePath *
335      int iserr;      int iserr;
336    
337      CONSOLE_DEBUG("Importing Python script %s",name);      CONSOLE_DEBUG("Importing Python script %s",name);
     ERROR_REPORTER_HERE(ASC_PROG_WARNING,"Loading external python method (EXPERIMENTAL)");  
338    
339      if(Py_IsInitialized()){      if(Py_IsInitialized()){
340          CONSOLE_DEBUG("Python was already initialised");          CONSOLE_DEBUG("Python was already initialised");

Legend:
Removed from v.1058  
changed lines
  Added in v.1059

john.pye@anu.edu.au
ViewVC Help
Powered by ViewVC 1.1.22