From b3ff7ede3286f8576d4e73ceb381e129c8b992c8 Mon Sep 17 00:00:00 2001 From: William S Fulton Date: Sun, 29 Aug 2004 20:42:25 +0000 Subject: [PATCH] char strings runtime test git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6166 626c5289-ae23-0410-ae9c-e8d60b6d4f22 --- .../test-suite/csharp/char_strings_runme.cs | 122 ++++++++++++++++ .../test-suite/java/char_strings_runme.java | 130 ++++++++++++++++++ 2 files changed, 252 insertions(+) create mode 100644 SWIG/Examples/test-suite/csharp/char_strings_runme.cs create mode 100644 SWIG/Examples/test-suite/java/char_strings_runme.java diff --git a/SWIG/Examples/test-suite/csharp/char_strings_runme.cs b/SWIG/Examples/test-suite/csharp/char_strings_runme.cs new file mode 100644 index 000000000..6bcf12d85 --- /dev/null +++ b/SWIG/Examples/test-suite/csharp/char_strings_runme.cs @@ -0,0 +1,122 @@ + +using System; +using char_stringsNamespace; + +public class char_strings_runme { + + private static string CPLUSPLUS_MSG = "A message from the deep dark world of C++, where anything is possible."; + private static string OTHERLAND_MSG = "Little message from the the safe world."; + + public static void Main() { + + uint count = 10000; + uint i = 0; + + // get functions + for (i=0; i