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

« back to all changes in this revision

Viewing changes to Examples/java/class/index.html

  • Committer: Bazaar Package Importer
  • Author(s): Michael Vogt
  • Date: 2008-11-10 16:29:56 UTC
  • mfrom: (1.2.8 upstream) (2.1.3 lenny)
  • Revision ID: james.westby@ubuntu.com-20081110162956-xue6itkuqhbza87s
Tags: 1.3.36-1ubuntu1
* Merge from debian unstable, remaining changes:
  - Drop pike and libchicken-dev from the build-depends 
    (both are universe)
  - Use python2.5 instead of python2.4.
  - use php5
  - Clean Runtime/ as well.
  - debian/Rules (clean): Remove Lib/ocaml/swigp4.ml.
  - drop "--without-mzscheme", we don't have it in our build-depends

Show diffs side-by-side

added added

removed removed

Lines of Context:
145
145
<h2>General Comments</h2>
146
146
 
147
147
<ul>
148
 
<li>This high-level interface using shadow classes is not the only way to handle C++ code. 
 
148
<li>This high-level interface using proxy classes is not the only way to handle C++ code. 
149
149
A low level interface using c functions to access member variables and member functions is the alternative SWIG
150
150
approach. This entails passing around the c pointer or c++ 'this' pointer and as such it is not difficult to crash the JVM. 
151
 
The abstraction of the underlying pointer by the java shadow classes far better fits the java programming paradigm.
 
151
The abstraction of the underlying pointer by the java proxy classes far better fits the java programming paradigm.
152
152
 
153
153
<p>
154
154
<li>SWIG *does* know how to properly perform upcasting of objects in an inheritance