Fix typo in code (found by cppcheck)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12352 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
babfccc072
commit
c6f3ac5420
1 changed files with 1 additions and 1 deletions
|
|
@ -10,7 +10,7 @@ SCM test_create()
|
|||
|
||||
newobj = new A();
|
||||
type = SWIG_TypeQuery("A *");
|
||||
result = SWIG_NewPointerObj(result, type, 1);
|
||||
result = SWIG_NewPointerObj(newobj, type, 1);
|
||||
|
||||
return result;
|
||||
#undef FUNC_NAME
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue