Dwith Swig /
Modifications
Difference (last change) (Author, normal page display)
Changed: 13c13
* I have also solved the resulting problem of the name of the class file (see next section). |
* I have also solved the resulting problem of the name of the class file (see /Problem). |
- Remove some places where type "char*" was replaced by "string". I have retained "char*".
- Add a means to put extra lines "import Classname;" into the D files for individual classes.
![]() |
|
where classfilename will normally be the word class followed by the name of the class (.d is NOT needed).
- I have also solved the resulting problem of the name of the class file (see /Problem).
- Add a means of dealing with the things which SWIG deos not understand e.g. pointers. These are wrapped by SWIG in objects of name e.g. SWIGTYPE_p_uint which wraps a pointer to C++ type uint. For D this results in a class object of the same name SWIGTYPE_p_uint. The previous action was to put this in a file SWIGTYPE_p_uint.d. I have modified this to be classSWIGTYPE_p_uint.d for the same reason in the previous change.
- Functions not in a class.
![]() |
|
where classfilename will normally be the word class followed by the name of the class (.d is NOT needed).