SWIG Director Support with Class Structure. Refactor Code to support rename.

Refactor Code - Support Director Support
	      - %rename support of class names and method names.
              - Creation and destruction methods after inline code.
This commit is contained in:
Nihal 2017-07-27 18:33:20 +05:30
commit f6acfc2bbb
5 changed files with 136 additions and 129 deletions

View file

@ -381,7 +381,7 @@
SWIGTYPE &,
SWIGTYPE &&
%{
SWIG_SetZval($result, $newobj , $c_obj, (void *)result, SWIGTYPE$swig_type, $zend_obj);
SWIG_SetZval($result, $newobj , $c_obj, (void *)result, $1_descriptor, $zend_obj);
%}
%typemap(out) SWIGTYPE *const&