Commit graph

15 commits

Author SHA1 Message Date
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