Perl added to the Unified typemap library, cleaner way to use the library, and 'normalized' macro names

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7707 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
Marcelo Matus 2005-10-24 14:59:05 +00:00
commit 3c65cea431
112 changed files with 3262 additions and 3375 deletions

View file

@ -11,6 +11,13 @@ top_builddir = @top_builddir@
CPP_TEST_CASES += \
primitive_types \
li_cstring \
li_cwstring \
li_std_wstring
C_TEST_CASES += \
li_cstring \
li_cwstring
include $(srcdir)/../common.mk

View file

@ -18,4 +18,16 @@ if {[val_uchar 10] != 10 } { error "bad uchar map" }
if {[val_ushort 10] != 10 } { error "bad ushort map" }
if {[val_double 10] != 10 } { error "bad double map" }
if {[val_float 10] != 10 } { error "bad double map" }
if [catch { val_float hello } ] {} else { error "bad double map" }
if {[val_char c] != "c" } { error "bad char map" }
if {[val_char "c"] != "c" } { error "bad char map" }
if {[val_char 101] != "e" } { error "bad char map" }