Commit graph

24 commits

Author SHA1 Message Date
Marcelo Matus
a300b82163 isolate language independent STD/STL/C++ code + more documentation + cleaning
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6382 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-10 06:42:15 +00:00
Marcelo Matus
b9bfda7868 using <> when including lib files, fix char{ANY], add char FIXSIZE[ANY], fix pyfragments.swg, fixing *.swg and *.i names
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6250 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-09-17 06:17:35 +00:00
Marcelo Matus
5ddf147312 fix vector<bool> problems
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5831 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-04-05 23:24:39 +00:00
Marcelo Matus
f3641c8520 suppress compiler warns and more cosmetics
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5830 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-04-05 20:20:36 +00:00
Marcelo Matus
6e14117b0b more fixes for pointer
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5824 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-04-03 08:36:08 +00:00
Marcelo Matus
377221f947 we better disable the comparison method generation by default.
reasons:

- before they were not generated, so, nobody will miss them,
  and still they can be activated back using SWIG_STD_EXTEND_COMPARISON,

- the performance penalty is quite visible, and the solution is not
  general, ie, for user types, still they need to be generated by hand.


Marcelo


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5822 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-04-02 02:34:19 +00:00
Marcelo Matus
7cbe501f13 fix pair for ptrs, and add SWIG_STD_NOEXTEND_COMPARISON to reduce swig times
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5820 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-04-01 18:51:30 +00:00
Marcelo Matus
705b2d863c - better support for classes with no default constructor, equal or
comparison methods.

  you will be able to do

    struct Foo {
     Foo(int) {}
    };

    %std_nodefconst_type(Foo); // Says Foo has no def. constructor

    %template(vector_Foo) std::vector<Foo>;

  and the conflicting vector/list/deque methods will not be generated.


more cosmetic, and a note about the relation between std::map and
std::pair.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5810 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-03-31 11:27:53 +00:00
Marcelo Matus
1d99226334 normalizing the inout typemaps and other cosmetic fixes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5782 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-03-21 23:26:18 +00:00
Marcelo Matus
328098bbb2 better STL support, see CHANGES.current
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5755 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-03-17 09:41:19 +00:00
Luigi Ballabio
09ec4edb93 Char and unsigned-char specialization added
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5348 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-19 08:38:27 +00:00
William S Fulton
f569dd135d __DIRECTOR__ renamed Swig::Director
SWIG_DIRECTOR_EXCEPTION renamed Swig::DirectorException (similarly for derived classes)


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5138 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-22 20:13:42 +00:00
William S Fulton
69d79e0674 typemap name changes:
inv => directorin
outv => directorout
argoutv => directorargout


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5137 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-20 23:52:28 +00:00
Dave Beazley
ec6d8dbd46 Fixes for partial specialization change.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5062 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-01 20:00:05 +00:00
Mark Rose
c1b57370b6 Abstract directors and typemap fixes.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5024 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-08-30 05:03:34 +00:00
Luigi Ballabio
25fbc470b2 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4656 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-04-03 07:33:09 +00:00
Luigi Ballabio
65cffcce15 Miscellaneous patches from users
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4654 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-04-02 07:41:56 +00:00
Mark Rose
eb5842504d one more signed/unsigned fix
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4549 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-16 02:54:16 +00:00
Mark Rose
91410de78d signed/unsigned comparison fix
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4548 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-16 02:35:42 +00:00
Mark Rose
bd40a83f1c polymorphism patch merge
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4435 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-06 19:21:58 +00:00
Luigi Ballabio
881217f965 Typemap fixes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4250 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-04 11:02:04 +00:00
Luigi Ballabio
a060864465 Using PyLong_Foo where appropriate (I think)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4245 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-01-29 13:05:06 +00:00
Luigi Ballabio
8324a4a252 typechecks were leaking
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4238 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-01-18 13:19:41 +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