~ubuntu-branches/ubuntu/maverick/swig1.3/maverick

« back to all changes in this revision

Viewing changes to Examples/perl5/import/README

  • Committer: Bazaar Package Importer
  • Author(s): Adam Conrad
  • Date: 2005-09-01 18:35:55 UTC
  • mfrom: (2.1.1 sarge)
  • Revision ID: james.westby@ubuntu.com-20050901183555-eq59uwhq8b62e44c
Tags: 1.3.24-1ubuntu4
* Use php5-dev instead of php4-dev, to kick php4 out of main.
* Drop support for generation of pike bindings, as nothing uses it,
  and swig is the only thing keeping pike7.6 in main (Ubuntu #13796)

Show diffs side-by-side

added added

removed removed

Lines of Context:
13
13
     bar.i      -  Bar class derived from Base
14
14
     spam.i     -  Spam class derived from Bar
15
15
 
16
 
Each module used %import to refer to another module.  For
 
16
Each module uses %import to refer to another module.  For
17
17
example, the 'foo.i' module uses '%import base.i' to get
18
 
definitions for its base class. These modules do not generate
19
 
any runtime code (-noruntime commandline option).
20
 
 
21
 
The runtime.i file is an empty SWIG module which will generate
22
 
the runtime library code for sharing amongst the other modules 
23
 
(uses -runtime commandline option). 
24
 
 
25
 
If everything is okay, all of the modules will load correctly and
26
 
type checking will work correctly.
 
18
definitions for its base class.
 
19
 
 
20
If everything is okay, all of the modules will load properly and
 
21
type checking will work correctly. Caveat: Some compilers, for example
 
22
gcc-3.2.x, generate broken vtables with the inline methods in this test.
 
23
This is not a SWIG problem and can usually be solved with non-inlined
 
24
destructors compiled into separate shared objects/DLLs.
27
25
 
28
26
Unix:
29
27
-----
30
28
- Run make
31
 
- Make sure your LD_LIBRARY_PATH includes the current directory so that
32
 
  libruntime.so can be loaded.
33
29
- Run the test as described above
34
30
 
35
31
Windows: