~ubuntu-branches/ubuntu/intrepid/lasso/intrepid-updates

« back to all changes in this revision

Viewing changes to java/StringList.java

  • Committer: Bazaar Package Importer
  • Author(s): Michael Bienia
  • Date: 2007-07-31 21:35:26 UTC
  • mfrom: (1.1.4 upstream)
  • Revision ID: james.westby@ubuntu.com-20070731213526-oc6jw5mprcd5tjyy
Tags: 2.0.0-1ubuntu1
* Merge from debian unstable. Remaining changes:
  + debian/control:
    - Modify Maintainer value to match DebianMaintainerField spec.
* debian/rules:
  + Add CC=gcc-4.2 to the configure call else configure won't find jni.h
    from libgcj8-dev.
* configure{,.ac}:
  + Add missing quotes around the value for PHP[45]_LIBS.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/* ----------------------------------------------------------------------------
2
2
 * This file was automatically generated by SWIG (http://www.swig.org).
3
 
 * Version 1.3.28
 
3
 * Version 1.3.31
4
4
 *
5
5
 * Do not make changes to this file unless you know what you are doing--modify
6
6
 * the SWIG interface file instead.
25
25
    delete();
26
26
  }
27
27
 
28
 
  public void delete() {
 
28
  public synchronized void delete() {
29
29
    if(swigCPtr != 0 && swigCMemOwn) {
30
30
      swigCMemOwn = false;
31
31
      lassoJNI.delete_StringList(swigCPtr);
38
38
  }
39
39
 
40
40
  public void append(String item) {
41
 
    lassoJNI.StringList_append(swigCPtr, item);
 
41
    lassoJNI.StringList_append(swigCPtr, this, item);
42
42
  }
43
43
 
44
44
  public SWIGTYPE_p_void cast() {
45
 
    long cPtr = lassoJNI.StringList_cast(swigCPtr);
 
45
    long cPtr = lassoJNI.StringList_cast(swigCPtr, this);
46
46
    return (cPtr == 0) ? null : new SWIGTYPE_p_void(cPtr, false);
47
47
  }
48
48
 
52
52
  }
53
53
 
54
54
  public String getItem(int index) {
55
 
    return lassoJNI.StringList_getItem(swigCPtr, index);
 
55
    return lassoJNI.StringList_getItem(swigCPtr, this, index);
56
56
  }
57
57
 
58
58
  public int length() {
59
 
    return lassoJNI.StringList_length(swigCPtr);
 
59
    return lassoJNI.StringList_length(swigCPtr, this);
60
60
  }
61
61
 
62
62
  public void setItem(int index, String item) {
63
 
    lassoJNI.StringList_setItem(swigCPtr, index, item);
 
63
    lassoJNI.StringList_setItem(swigCPtr, this, index, item);
64
64
  }
65
65
 
66
66
}