Matthias Köppe
117037584f
Don't use catch...throw in C mode.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8427 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-14 11:26:56 +00:00
Matthias Köppe
fdd0088a30
Use malloc instead of new in C mode.
...
Add #includes needed by some SWIG code.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8426 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-14 11:25:51 +00:00
Marcelo Matus
acee51f66a
add %extern case
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8425 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-14 01:25:09 +00:00
William S Fulton
2b805e684e
correct some function declarations to match the standard - VC++ fails otherwise
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8424 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-14 00:20:37 +00:00
William S Fulton
6b512be7ce
add tests for unsigned long long and long long overloading
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8423 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-13 23:43:22 +00:00
Charlie Savage
915cf82197
Added SWIG_POINTER_EXCEPTION for backwards compatibility.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8422 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-13 23:43:12 +00:00
William S Fulton
f0a7faf347
modify overloaded long long functions for runtime testing
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8421 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-13 23:42:03 +00:00
William S Fulton
4d5c0f7636
mods for VC++
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8420 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-13 23:40:42 +00:00
William S Fulton
e734cd32ba
use the file in the directory above instead - removed
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8419 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-13 23:37:50 +00:00
Marcelo Matus
8b2f2a9b42
quick fix for duplicate keys
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8418 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-13 23:07:15 +00:00
Charlie Savage
ce0ec6ba6c
Undid change to check for nil object since it was not valid because it disallowed passing null pointers.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8417 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-13 22:27:44 +00:00
Charlie Savage
237d452aba
Added check for nil object being passed to SWIG_AsCharPtrAndSize. If a nil object is passed in then an error is returned.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8416 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-13 21:52:13 +00:00
Marcelo Matus
54e7622a05
check value len
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8415 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-13 18:09:05 +00:00
Marcelo Matus
ef260c3451
add the ismember and hasvalue attributes and the corresponing %rename predicates
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8414 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-13 18:04:59 +00:00
Marcelo Matus
668a0f5719
cosmetic and check for empty string in first_ucase
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8413 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-13 18:03:50 +00:00
Matthias Köppe
0a29273061
Fix last change.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8412 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-13 15:24:37 +00:00
Matthias Köppe
796e844fe0
Run Allegro CL testcases for C with the -cwrap option.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8411 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-13 15:04:53 +00:00
Matthias Köppe
afb9800a6f
Add allegrocl_clean target.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8410 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-13 14:45:20 +00:00
Charlie Savage
3954c5df10
Added new method called Swig_string_first_ucase which capitalizes the first letter in a string. This is needed for the Ruby module to allow backwards compatibility with swig 1.2.7 and before generated interfaces.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8409 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-13 05:50:57 +00:00
Charlie Savage
8a3351d794
Fixed up checking for constants.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8408 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-13 01:49:29 +00:00
Marcelo Matus
02faa27d3f
cosmetics
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8407 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-13 01:08:10 +00:00
Charlie Savage
03aa663f5a
Use new camelcase,undercase,lowercase aliases.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8406 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-13 00:56:29 +00:00
Charlie Savage
00c25d4174
Updated Ruby module to use the new %rename functionality.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8405 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-13 00:54:36 +00:00
Charlie Savage
62cb2b8e90
Moved constant renames from the c++ code to ruby.swg to reuse the new %rename functionality.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8404 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-13 00:51:49 +00:00
Marcelo Matus
f8ee8a0e49
add aliases for the 'case' encoders
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8403 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-13 00:38:44 +00:00
Marcelo Matus
66817e5970
fix the ctitle encoder to keep capital letters
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8402 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-13 00:06:31 +00:00
William S Fulton
709a67707d
No need to filter exception specification warning now as they've been muffled in the few testcases that have exception specifications and SWIG no longer generates code with exception specifications
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8401 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-12 23:49:06 +00:00
William S Fulton
8d9b8dbfe5
muffle exception specification ignored warning (VC++). This is only for testcases that introduce exception specifications in the testcase case itself.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8400 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-12 23:43:16 +00:00
Charlie Savage
032bf49f28
Added %rename to change function and method names from CamelCase to lower_case_with_underscores.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8399 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-12 23:35:46 +00:00
William S Fulton
65620fb539
Choose SWIG exception specification override (%catches) instead of real exception specifications for code that goes into the wrappers
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8398 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-12 23:01:54 +00:00
William S Fulton
a658cc52aa
remove unnecessary exception specifications, thereby preventing Visual Studio from having epileptic warnings fits filling the screen with heaps of compete and utter rubbish because it doesn't handle exception specifications properly.
...
Marcelo, please check that this doesn't remove any generated catch handlers. I dont' feel up to chasing a million and one macros to be sure.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8397 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-12 22:36:04 +00:00
William S Fulton
c9b723e2d8
Clearer comments on what the test-suite targets do
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8396 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-12 21:13:54 +00:00
Marcelo Matus
bf2fef6438
add space for rename rules
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8395 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-12 21:10:54 +00:00
Marcelo Matus
dd02494a88
last list rename rule added take precedence
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8394 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-12 21:10:26 +00:00
Marcelo Matus
5340de2a2e
more fixes to utitle
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8393 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-12 21:09:58 +00:00
William S Fulton
52795939d7
some news
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8392 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-12 20:49:07 +00:00
Marcelo Matus
9c7d46c48c
add missing '%' in front of #include
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8391 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-12 18:49:12 +00:00
Marcelo Matus
0b345e8546
add the -dump_parse_top and -dump_parse_modules
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8390 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-12 17:19:02 +00:00
Marcelo Matus
f86657bb71
more %rename predicates
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8389 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-12 15:44:27 +00:00
Marcelo Matus
4f68626cf6
add predicates to %rename, new kind attribute to cdecl and the '|' operator in %rename's match
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8388 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-12 09:06:07 +00:00
Mark Gossage
10f0f87e57
updated CHANGES.current & small fix to lua.cxx
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8387 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-12 07:22:46 +00:00
Mark Gossage
dc50707875
updated CHANGES.current
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8386 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-12 07:21:51 +00:00
Marcelo Matus
46b2008536
add the throws (...) typemap
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8385 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-12 06:10:27 +00:00
Surendra Singhi
5f637015c2
Fixed a struct related bug. Reported by Frank Buss and Kilian.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8384 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-12 05:42:24 +00:00
Surendra Singhi
6042f0992d
Fixed a typo reported by Brad Anderson.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8383 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-12 05:04:22 +00:00
Marcelo Matus
3f50cdc914
more centralization of swigkeys
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8382 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-12 00:41:13 +00:00
Marcelo Matus
f3f56ee734
add %rename predicates
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8381 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-12 00:39:59 +00:00
Marcelo Matus
6d1e92ff1e
another fix to utitle
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8380 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-11 23:59:14 +00:00
Marcelo Matus
f077a9b6d1
more examples
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8379 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-11 23:13:36 +00:00
Marcelo Matus
2474310a5e
change runtime examples to run with old python versions
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8378 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-11 23:13:23 +00:00