Commit graph

23 commits

Author SHA1 Message Date
John Lenz
17b006087e When compiling with gcc -ansi, inline was improperly getting set.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6651 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-04 01:27:57 +00:00
Marcelo Matus
21942d03a0 Fix for compiler dependent macro.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6629 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-02 22:06:25 +00:00
Marcelo Matus
de4f715712 add more docs
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6620 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-02 18:48:59 +00:00
Marcelo Matus
18d3f92b53 fixes for Sun Studio 9, test it
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6615 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-02 08:26:54 +00:00
Marcelo Matus
c70186d5d7 fix import + typedefs. see example in imports_b.i
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6555 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-29 22:23:19 +00:00
John Lenz
b83fe6bd77 - Add SWIG_RUNTIME_VERSION to new type sharing code. This is for future-proof, if
the format of swig_type_info ever changes, this number should be incremented
- Add SWIG_LINK_RUNTIME and SWIG_STATIC_RUNTIME symbols to python
- Convert inline into SWIGINLINE


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6475 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-21 21:53:54 +00:00
John Lenz
4645346381 Removed ability to share type information by C linking
All type sharing happens through a global variable in the target language.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6390 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-16 18:23:59 +00:00
John Lenz
0e57357472 Fix a few bugs in the tcl module related to clientdata propagation.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6357 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-07 02:31:14 +00:00
Marcelo Matus
0ea35a31c0 fix warnings
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6268 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-09-26 01:03:19 +00:00
William S Fulton
f0f063f7ae SWIGEXPORT macro simplification, Borland can use the normal Windows convention __declspec(dllexport)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6242 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-09-14 20:08:24 +00:00
Matthias Köppe
341ebe5c11 Add a level of indirection for the static variable "swig_type_list".
The Guile module uses this to merge type information between modules.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6064 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-07-24 15:16:31 +00:00
Marcelo Matus
a02d064ad6 some performance improvements
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5982 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-06-14 09:14:48 +00:00
Matthias Köppe
783d69e252 New common runtime function SWIG_TypePrettyName.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5901 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-05-06 09:51:37 +00:00
Marcelo Matus
d29dbe752d Keep the old non-resolved type str and add the fully
resolved one if is needed.

Add examples showing the problem with SWIG_TypeQuery
and template+typedef and the old type str, and how
it works now.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5704 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-02-10 08:37:30 +00:00
Marcelo Matus
9f9e05ad30 Fixes for SWIG_TypeQuery and templates/typedefs,
before the swig_type_info fields 'str' and 'name'
where not consistent, one was fully resolved (name),
the other not, therefore

  typedef int Int;
  template <class C> struct Class {};

  SWIG_TypeQuery($descriptor(Class<int>*))

wasn't necessary the same that

  typedef int Int;
  template <class C> struct Class {};

  SWIG_TypeQuery("Class<int> *")

the problem was visible only when the latter form was used,
like in a static auxiliar function outside a typemap.

also, relax type name comparison with blanks, ie

  SWIG_TypeQuery("Class<int> *") := SWIG_TypeQuery("Class<int > *")


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5703 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-02-10 03:42:38 +00:00
Dave Beazley
1095ee9859 Added Perl support for member pointers. Some reorganization of other runtime code
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5436 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-28 20:56:17 +00:00
William S Fulton
5b85519737 Cygwin gcc now uses __declspec(dllexport) for creating exported functions in the runtime library DLLs
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5413 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-25 21:53:02 +00:00
Dave Beazley
8bbc5fe088 Minor patch contributed by Charles Schwieters.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4429 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-04 20:09:53 +00:00
Dave Beazley
516036631c The great merge
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4141 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2002-11-30 22:01:28 +00:00
Dave Beazley
3ef3086b5a Changed _swig_type_info to swig_type_info
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@799 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-02 16:25:50 +00:00
Dave Beazley
c1956bf1fc Added 'str' member to the _swig_type_info structure. This contains a "nice"
string representation of the mangled datatype.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@725 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-30 15:14:16 +00:00
Dave Beazley
16568f9aa0 Removed compiler warning.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@665 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-17 02:28:12 +00:00
Dave Beazley
3e6fdf7563 Moved generic type-checking code to common.swg
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@659 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-15 21:28:21 +00:00