summaryrefslogtreecommitdiff
path: root/Examples/csharp
Commit message (Collapse)AuthorAgeFilesLines
* Remove use of preinst-swig scriptWilliam S Fulton2015-08-2111-22/+44
| | | | | | | | | | | | | Complete the prototype removal in ca1431. The script prevents SWIGTOOL=gdb from working as gdb can't be used to debug a shell script, it requires a binary. Add support for SWIGTOOL in all the examples. SWIG_LIB_DIR and SWIGEXE must now instead be set by all Makefiles. See issue #473.
* Remove unused std_string.i from callback examplesWilliam S Fulton2015-05-101-2/+0
|
* Eliminate trivial differences between the reference examplesOlly Betts2014-11-072-9/+1
|
* Remove bogus ; after } in examplesOlly Betts2014-11-071-2/+2
|
* Fix compiler warnings in examples when using -std=c++98 -std=gnu89 -pedantic ↵William S Fulton2014-05-243-4/+4
| | | | -Wreturn-type
* Allow examples and test-suite to be built out of source treeKarl Wette2014-05-1111-44/+44
| | | | | | | | | | | | | | | | | | | | | | | - Examples/Makefile.in rules use SRCDIR as the relative source directory - ./config.status replicates Examples/ source directory tree in build directory, and copies each Makefile to build directory, prefixed with a header which sets SRCDIR to source directory - Examples/test-suite/.../Makefile.in set SRCDIR from Autoconf-set srcdir - Examples/test-suite/errors/Makefile.in needs to filter out source directory from SWIG error messages - Lua: embedded interpreters are passed location of run-time test - Python: copy run-time scripts to build directory because of 2to3 conversion; import_packages example copies __init__.py from source directory; test-suite sets SCRIPTDIR to location of run-time tests - Javascript: binding.gyp renamed to binding.gyp.in so that $srcdir can be substituted with SRCDIR; removed './' from require() statements so that NODE_PATH can be used to point Node.js to build directory
* More cleaning up of the class examplesOlly Betts2014-05-051-5/+5
|
* Always use debug flags for Mono to get decent stacktraces on error.William S Fulton2014-03-2011-11/+11
|
* C# project files updateWilliam S Fulton2014-03-013-175/+433
| | | | | | | | | | - Update project files to use Visual Studio 2005 (minimum supported .NET is now 2.0 which is what VS 2005 supports). - Add project files for arrays example (requires /unsafe) - Fix support so that the project files work straight out the box on 64 bit systems (32 bit compile is the default). - Fix support for 64 bit builds - use the x64 platform.
* Further cleaning up of class examplesOlly Betts2014-02-242-16/+10
|
* C# project files updateWilliam S Fulton2014-02-2330-1562/+4327
| | | | | | | | | - Update project files to use Visual Studio 2005 (minimum supported .NET is now 2.0 which is what VS 2005 supports). - Add project files for arrays example (requires /unsafe) - Fix support so that the project files work straight out the box on 64 bit systems (32 bit compile is the default). - Fix support for 64 bit builds - use the x64 platform.
* Add C++ nested class exampleWilliam S Fulton2013-11-3012-9/+459
| | | | | This also reverts the nested class additions to the Java/C# 'class' example so that the 'class' example remains identical across different language modules
* Nested classes supportVladimir Kalinin2013-11-293-7/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Closes #89 Squash merge branch 'master' of https://github.com/wkalinin/swig into wkalinin-nested By Vladimir Kalinin * 'master' of https://github.com/wkalinin/swig: CPlusPlusOut mode for Octave nested class illustration fixed "Abstract" flag for nested classes added an example enabled anonymous nested structs runtime test porting warnings disabled porting fixes java runtime tests ported nested class closing bracket offset fixed removed double nested template (not supported by %template parsing) template_nested test extended parent field made public property access fixed replaced tabs with spaces warning W-reorder deprecated warnings removed, derived_nested runtime test added optimized string indenting Nested classes indenting nested classes docs fixed the order in which flattened inner classes are added after the outer Private nested classes were getting into the type table. Java getProxyName() fix for nested classes fixes the case when nested classes is forward declared Fix for a case when a nested class inherits from the same base as the outer. (Base class constructor declaration is found first in this case) merge fix nested C struct first immediate declaration incorrectly renamed sample fixed tests updated to reflect nested classes support Java nested classes support (1) flattening should remove the link to the outer class access mode correctly set/restored for nested classes nested templates should be skipped while flattening (template nodes themselves, not expanded versions) also non-public nested classes should be ignored If nested classes are not supported, default behaviour is flattening, not ignoring flag "nested" is preserved, so, the nested classes can be ignored by user nested workaround test updated template instantiated within a class is marked as nested for ignoring purposes %ignore not applied to the nested classed, because "nested" flag is set too late typedef name takes precedence over the real name (reason?) unnamed structs should be processed for all the languages nested C struct instances are wrapped as "immutable" tree building typedef declaration for unnamed C structures fixed nested classes "flattening" fixed %ignoring nested classes renamed "nested" attribute to "nested:outer" added "nested" flag, to be used with $ignore (it is not removed while flattening) added nestedClassesSupported() function to the Language interface renamed "nested" attribute to "nested:outer" added "nested" flag, to be used with $ignore (it is not removed while flattening) added nestedClassesSupported() function to the Language interface tree iteration fix dirclassname variable names unified memory issue fixed merge error ignore unnamed structs for C++ unnamed nested C structs naming & unnesting class added to classes hash under typedef name private nested classes skipped test updated due to nested templates support anonymous structs with inheritance fixed nested_class test to allow anonymous structs w/o declarator tests updated: nested workaround removed from namespace_class.i propagated nested template declaration to the C++ file injected members scope nested tempplates fixes, nested structures in "C" mode parsing added utility function "appendSibling" (like "appendChild") nested unnamed structures parsing fixes, access mode restored on nested class end, tdname is properly patched with outer class name prefix memory management fixes nested templates (1) Nested unnamed structs Nested class support (1) Nested class support (1)
* Fix gcc -Waddress warning in variables examplesWilliam S Fulton2013-10-181-1/+1
|
* Fix typosOlly Betts2013-09-251-1/+1
|
* Run csharp examples during 'make check-examples'William S Fulton2013-04-1910-50/+40
|
* Remove a warning when building in C# project files when they are converted ↵William S Fulton2011-12-229-36/+36
| | | | | | for use by Visual Studio 2010 git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12886 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* Use svn:eol-style CRLF for Visual Studio project filesWilliam S Fulton2011-12-2227-2648/+2648
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12885 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* missing function declaration fixWilliam S Fulton2009-01-081-0/+3
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11040 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* Add C# array typemaps provided by Antti Karanta.William S Fulton2008-09-186-0/+132
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10872 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* remove java file in C# directoryWilliam S Fulton2007-08-171-88/+0
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9905 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* add missing c# testsWilliam S Fulton2007-04-181-0/+2
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9682 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* Remove cvsignore files: this is stored on svn:igonre property nowJohn Lenz2006-12-039-172/+0
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9593 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* use $self special variable instead of self in %extendWilliam S Fulton2006-11-082-4/+4
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9533 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* *** empty log message ***William S Fulton2006-07-072-2/+9
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9204 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* C# director support addedWilliam S Fulton2006-05-1319-0/+979
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9102 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* remove sprintf deprecated messageWilliam S Fulton2006-03-054-77/+148
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8959 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* force examples to use preinst-swig, as is done in the test-suiteMarcelo Matus2005-11-277-7/+7
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7880 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* fix extern declarationsWilliam S Fulton2005-06-283-0/+12
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7321 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* update for change to proper enums instead of simple integers for enumsWilliam S Fulton2004-11-111-2/+7
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6714 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* Test const char [] instead of const char *William S Fulton2004-06-153-3/+2
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5992 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* Update for new enum wrapping which uses proper C# enumsWilliam S Fulton2004-05-312-14/+13
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5952 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* Visual Studio .NET 2003 solution and project files addedWilliam S Fulton2004-01-0729-149/+2037
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5606 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* Warning fixesWilliam S Fulton2004-01-071-1/+1
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5605 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* Warning fixesWilliam S Fulton2004-01-071-2/+2
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5604 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* Mods to work with Mono, Microsoft and pnet compilersWilliam S Fulton2003-08-277-7/+7
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5015 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* pnet bug workaround removedWilliam S Fulton2003-06-021-2/+2
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4846 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* Removed deprecated pragmasWilliam S Fulton2003-04-031-2/+0
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4660 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* variables exampleWilliam S Fulton2003-03-151-0/+1
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4543 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* Usual SWIG variables example - uses properties for global variable accessWilliam S Fulton2003-03-156-0/+250
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4542 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* Uses properties instead of get/set methodsWilliam S Fulton2003-03-151-3/+3
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4541 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* Use the C# compiler found by configure, not just pnet's csccWilliam S Fulton2003-03-123-3/+9
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4532 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* template example working, sorry forgot to commit it earlierWilliam S Fulton2003-03-125-0/+120
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4531 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* New examplesWilliam S Fulton2003-03-121-0/+4
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4530 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* Reference example like the other languages, all workingWilliam S Fulton2003-03-127-0/+367
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4529 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* Function pointer example just like the other languagesWilliam S Fulton2003-03-126-0/+103
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4528 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* Classes and inheritance now working as demonstrated by the classic SWIG ↵William S Fulton2003-03-126-0/+175
| | | | | | class example git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4527 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* Fix for mono c# compilerWilliam S Fulton2003-03-102-0/+4
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4504 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* csharp examplesWilliam S Fulton2003-03-0412-0/+210
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4433 626c5289-ae23-0410-ae9c-e8d60b6d4f22