Better handling of return values. Some bugfixes.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2008-maciekd@10618 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
ea05035844
commit
f74439e215
16 changed files with 208 additions and 58 deletions
10
Examples/c/return/example.cxx
Normal file
10
Examples/c/return/example.cxx
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
#include "example.h"
|
||||
|
||||
Bar foo_ret_val() {
|
||||
return Bar();
|
||||
}
|
||||
|
||||
Bar* foo_ret_ptr(Bar* bar) {
|
||||
return bar;
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue