diff options
author | Renato Filho <renato.filho@openbossa.org> | 2010-07-20 14:00:44 -0300 |
---|---|---|
committer | Renato Filho <renato.filho@openbossa.org> | 2010-08-18 15:21:20 -0300 |
commit | b4c007c3ee9932b7a384b2b4fcdc8b4be2dfbad9 (patch) | |
tree | e106cc99a076d3c4677b6afb4857fcb36b1351f9 /tests/samplebinding | |
parent | da5a88b3b53b4769e77eff1d48cc9a2c7152f6c2 (diff) |
fixed tests exported symbols.
Reviewer: Hugo Parente Lima <hugo.pl@gmail.com>
Luciano Wolf <luciano.wolf@openbossa.org>
Diffstat (limited to 'tests/samplebinding')
-rw-r--r-- | tests/samplebinding/typesystem_sample.xml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/samplebinding/typesystem_sample.xml b/tests/samplebinding/typesystem_sample.xml index b3e05d4ed..f23320ccf 100644 --- a/tests/samplebinding/typesystem_sample.xml +++ b/tests/samplebinding/typesystem_sample.xml @@ -757,7 +757,7 @@ <conversion-rule class="native"> int numItems = PySequence_Size(%PYARG_1); - int %out[numItems]; + int *%out = new int[numItems]; //memory leak for (int i=0; i < numItems; i++) { %out[i] = %CONVERTTOCPP[int](PySequence_GetItem(%PYARG_1, i)); } |