path: root/doc
Commit message (Collapse)AuthorAgeFilesLines
* Added the method injectedCodeCallsPythonOverride(func) toMarcelo Lira2009-11-232-4/+18
| | | | | | | | | | | | | | | | | | | | | | ShibokenGenerator, it returns true if a code injection on a virtual method override (a "native" inject-code) does a call to the Python override. Added the %PYTHON_METHOD_OVERRIDE type system variable, it is replaced by the name of the pointer to a Python method that represents an override to a C++ virtual method. A code injection in the "native/end" position for a method modification is now put before the dereferencing of the variables used in the Python call (the method object and the Python argument tuple). If a call to the Python override method is detected on code injections of the "native" class from method modifications, the generator doesn't write the same call again. All documentation was updated with the changes.
* Added the type system %PYTHON_ARGUMENTS variable. It is used inMarcelo Lira2009-11-231-0/+47
| | | | | | | | | | | | | | | | | | | | | | | "native" code injections to get the Python tuple of objects converted from C++ arguments received from a virtual method call. The tuple is the one to be passed to a Python override of the wrapped C++ virtual method. Other type system variables were improved to have a smarter replacement depending if they are part of a code injection of the "native" or "target" classes. * %PYARG_# In the context of a native code injection it represents one item in the Python argument tuple, acquired with PyTuple_GET_ITEM. If the binding developer attributes some value to the variable the code snippet writer tries to be smart and sets the tuple item with PyTuple_SET_ITEM. See the updated documentation for more details. * %CPPSELF Replaced by "this" in native code injections. The documentation was updated with the new information.
* The code injections in the native/beginning position come after theMarcelo Lira2009-11-231-4/+8
| | | | | | C++ arguments conversion to a Python argument tuple. The documentation was updated with this information. The virtual method writer was also fixed to not convert removed arguments.
* Modified ShibokenGenerator::writeCodeSnips to receive also anMarcelo Lira2009-11-191-2/+7
| | | | | | | | | AbstractMetaArgument indicating the last C++ argument available (i.e. converted from Python arguments to C++) to be used in the type system variable replacement. If a variable in the user's custom code is not ready, it is replaced by the argument default value. Also updated the documentation.
* Added the type system variable "%ARG#_TYPE" which returns the C++ typeMarcelo Lira2009-11-191-0/+55
| | | | | | | | for the argument indicated by the numeric index '#'; wrong indexes will issue a generator warning. The documentation was updated as well. Reviewed by Luciano Wolf <>
* Fixed type system variable replacement for %# and %ARGUMENT_NAMESMarcelo Lira2009-11-191-3/+51
| | | | | | to handle correctly removed arguments and also consider variable values with default values. The documentation was updated with the new information.
* Added the %PYTHONTYPEOBJECT type system variable, which is replacedMarcelo Lira2009-11-171-0/+6
| | | | | | | | | by the proper Python type object depending on the context: method or class modification. Also added an AbstractMetaClass argument to ShibokenGenerator::writeCodeSnips to pass the needed context information. Reviewd by Luciano Wolf <>
* Shiboken documentation updated with type system variables informationMarcelo Lira2009-11-164-4/+111
| | | | Reviewed by Hugo Lima <>
* updated code injection semantics documentation with guidelines onMarcelo Lira2009-11-131-4/+39
| | | | how to call the wrapped C++ method/function
* added complete documentation on how the Shiboken generator interpretsMarcelo Lira2009-11-133-0/+350
| | | | | | and uses the type system's code-injection tag Reviewed by Lauro Neto <>
* New theme for shiboken documentation.Hugo Lima2009-11-0325-36/+1525
| | | | Reviewed by Marcelo Lira <>
* Removed useless/outdated/wrong documentation from shiboken.Hugo Lima2009-11-0317-1176/+12
* Added documentation for sequence protocol support in shiboken.Hugo Lima2009-11-031-0/+24
* The End Is the Beginning Is the EndMarcelo Lira2009-08-1725-0/+2155