Octave: cleanup/restructure library files

- Restructure runtime code into declarations, function
  and class definitions, and initialisation code
- Rename internal functions/types to follow SWIG_Octave...
  or SwigOct... naming styles
- Style/comment/whitespace cleanups
This commit is contained in:
Karl Wette 2014-06-02 03:02:47 +02:00 • committed by Karl Wette
commit bf12d76d03
42 changed files with 4288 additions and 3702 deletions

View file

@ -1,6 +1,9 @@
//
// exception.i - C++ exception support
//
%include <typemaps/exception.swg>
%insert("runtime") {
%define_as(SWIG_exception(code, msg), %block(%error(code, msg); SWIG_fail; ))
%define_as(SWIG_exception(code, msg), %block(%error(code, msg); SWIG_fail; ))
}