/[ascend]/trunk/pygtk/library.cpp
ViewVC logotype

Diff of /trunk/pygtk/library.cpp

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

revision 1040 by johnpye, Wed Jan 3 12:46:37 2007 UTC revision 1041 by johnpye, Fri Jan 5 00:29:21 2007 UTC
# Line 122  Library::load(const char *filename){ Line 122  Library::load(const char *filename){
122          case 0:          case 0:
123              msg = "Module for '%s' created OK."; break;              msg = "Module for '%s' created OK."; break;
124          case -1:          case -1:
125              msg = "Error: File not found for '%s'. (-1)"; break;              msg = "File not found for '%s'. (-1)"; break;
126          case -2:          case -2:
127              msg = "Error: Unable to open '%s' for reading. (-2)";break;              msg = "Unable to open '%s' for reading. (-2)";break;
128          case -3:          case -3:
129              msg = "Error: Insuffient memory to create module for '%s'. (-3)"; break;              msg = "Insuffient memory to create module for '%s'. (-3)"; break;
130          case -4:          case -4:
131              msg = "Error: bad input, null or zero length filename in '%s'. (-4)"; break;              msg = "Bad input, null or zero length filename in '%s'. (-4)"; break;
132          default:          default:
133              throw std::runtime_error("Invalid status code in library.cpp");              throw std::runtime_error("Invalid status code in library.cpp");
134      }      }

Legend:
Removed from v.1040  
changed lines
  Added in v.1041

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