also, change the module name to director_frob

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5665 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
Marcelo Matus 2004-01-22 00:52:06 +00:00
commit e63a259672
4 changed files with 7 additions and 7 deletions

View file

@ -1,4 +1,4 @@
%module(directors="1") frob;
%module(directors="1") director_frob;
%header %{
#include <iostream>

View file

@ -1,12 +1,12 @@
import frob.*;
import director_frob.*;
import java.lang.reflect.*;
public class frob_runme
public class director_frob_runme
{
static {
try {
System.loadLibrary("frob");
System.loadLibrary("director_frob");
} catch (UnsatisfiedLinkError e) {
System.err.println("Native code library failed to load. See the chapter on Dynamic Linking Problems in the SWIG Java documentation for help.\n" + e);
System.exit(1);

View file

@ -1,4 +1,4 @@
from frob import *
from director_frob import *
foo = Bravo();
s = foo.abs_method();

View file

@ -1,6 +1,6 @@
require 'frob'
require 'director_frob'
foo = Frob::Bravo.new;
foo = Director_frob::Bravo.new;
s = foo.abs_method;
raise RuntimeError if s != "Bravo::abs_method()"