aboutsummaryrefslogtreecommitdiffstats
path: root/tests/samplebinding/simplefile_glue.cpp
Commit message (Collapse)AuthorAgeFilesLines
* fixed how the generator deals with code injection for classes and methods;Marcelo Lira2009-11-131-3/+1
| | | | also fixed the tests type system accordingly
* renamed template variable %SELF to %PYSELF and %CPPOBJ to %CPPSELFMarcelo Lira2009-10-231-2/+2
| | | | | to improve code readability; also fixed usage of template variables on type system for the test bindings
* added two new variables for the type system template system:Marcelo Lira2009-10-211-1/+1
| | | | | | | | | | | | | | * %SELF, replaced by the variable name for the Python instance of a class method * %CPPOBJ, replaced by the pointer to the C++ object for the Python instance associated with the method where it appears the 'cpythonWrapperCPtr(const AbstractMetaClass*, QString)' method was moved from CppGenerator to ShibokenGenerator to be available for the type system variable replacement method; the test bindings for the libsample's SimpleFile class was updated to use the new type system variables
* added the SimpleFile class to the sample library to check how aMarcelo Lira2009-10-201-0/+8
method returning a boolean value that indicates success/failure on a IO operation could be modified to express the any occurring problems as Python exceptions (in this case IOError); the generator was changed to return a 'None' value for Python callers on methods that had it's return value removed