Many major improvements. Almost all testsuite compiles now.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2008-maciekd@11189 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
a2dc2756c8
commit
32e03aa13d
25 changed files with 1052 additions and 609 deletions
|
|
@ -10,23 +10,29 @@ srcdir = @srcdir@
|
|||
top_srcdir = @top_srcdir@/..
|
||||
top_builddir = @top_builddir@/..
|
||||
|
||||
C_TEST_CASES =
|
||||
|
||||
CPP_TEST_CASES = cast_operator \
|
||||
char_strings \
|
||||
exception_order \
|
||||
exception_partial_info \
|
||||
enums \
|
||||
enum_plus
|
||||
include $(srcdir)/../common.mk
|
||||
|
||||
#
|
||||
# BROKEN TEST CASES:
|
||||
# default_constructor - last case: when using %extend generates 2 ctors wrappers,
|
||||
# default_constructor - last case fail: using %extend generates 2 ctors wrappers,
|
||||
# both using new, while the class constructor is private
|
||||
# extend* - directive %extend is not fully supported yet
|
||||
# li* - not supported at all yet
|
||||
# long_long_apply - no INPUT, OUTPUT, INOUT typemaps defined
|
||||
# template* - not fully supported yet
|
||||
#
|
||||
CPP_TEST_BROKEN_CXX = default_constructor
|
||||
|
||||
include $(srcdir)/../common.mk
|
||||
C_CPP_TEST_BROKEN = \
|
||||
default_constructor \
|
||||
extend \
|
||||
extend_default \
|
||||
extend_placement \
|
||||
li_attribute \
|
||||
li_boost_shared_ptr \
|
||||
li_carrays \
|
||||
li_cdata \
|
||||
li_windows \
|
||||
long_long_apply
|
||||
|
||||
INTERFACEDIR = ../../
|
||||
|
||||
|
|
|
|||
|
|
@ -1,12 +1,12 @@
|
|||
#include <stdio.h>
|
||||
|
||||
#include "cast_operator/cast_operator_proxy.h"
|
||||
|
||||
int main() {
|
||||
A *a = new_A();
|
||||
if (strcmp(A_tochar(a), "hi"))
|
||||
fprintf(stderr, "cast failed\n");
|
||||
delete_A(a);
|
||||
SWIG_exit(0);
|
||||
}
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
#include "cast_operator/cast_operator_proxy.h"
|
||||
|
||||
int main() {
|
||||
A *a = new_A();
|
||||
if (strcmp(A_tochar(a), "hi"))
|
||||
fprintf(stderr, "cast failed\n");
|
||||
delete_A(a);
|
||||
SWIG_exit(0);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue