git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@768 626c5289-ae23-0410-ae9c-e8d60b6d4f22
28 lines
374 B
C++
28 lines
374 B
C++
// -*-c++-*-
|
|
// Copyright (C) 2000 Tal Shalif
|
|
|
|
/* File : cpptest.i */
|
|
#ifdef SWIGJAVA
|
|
%module cpptestJava
|
|
#else
|
|
%module cpptest
|
|
#endif
|
|
|
|
%include MyString_typemap.i
|
|
|
|
%{
|
|
#define MyString string
|
|
#include <string>
|
|
#include "cpptest.H"
|
|
%}
|
|
|
|
%include "cpptest.H"
|
|
|
|
#ifdef SWIGJAVA
|
|
%pragma(java) module="
|
|
static {
|
|
System.loadLibrary(\"cpptest\");
|
|
}";
|
|
#endif
|
|
|
|
// cpptest.i ends here
|