Updated examples to function correctly with new php4 module. Added
some supplemental examples for cpointer, overloading and references using proxies. git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7391 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
bc9db8b383
commit
501bd53c4b
44 changed files with 506 additions and 131 deletions
|
|
@ -33,7 +33,7 @@ public:
|
|||
/* This wrapper provides an alternative to the [] operator */
|
||||
%extend {
|
||||
Vector &get(int index) {
|
||||
printf("%p %d\n",self,index);
|
||||
printf("VectorArray extended get: %p %d\n",self,index);
|
||||
return (*self)[index];
|
||||
}
|
||||
void set(int index, Vector &a) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue