~ubuntu-branches/debian/sid/jcc/sid

« back to all changes in this revision

Viewing changes to jcc/sources/JCCEnv.h

  • Committer: Package Import Robot
  • Author(s): Ludovico Cavedon
  • Date: 2012-06-25 00:27:38 UTC
  • mfrom: (1.1.9)
  • Revision ID: package-import@ubuntu.com-20120625002738-cfontjqhjdgpd53f
Tags: 2.13-1
* Imported Upstream version 2.13
* Update Standrads-Version to 3.9.3.
* Use debhelper compat 9.
* Update copyright file to machine-readable format 1.0.

Show diffs side-by-side

added added

removed removed

Lines of Context:
81
81
class _DLL_EXPORT JCCEnv {
82
82
protected:
83
83
    jclass _sys, _obj, _thr;
 
84
    jclass _boo, _byt, _cha, _dou, _flo, _int, _lon, _sho;
84
85
    jmethodID *_mids;
85
86
 
86
87
    enum {
101
102
        mid_Integer_intValue,
102
103
        mid_Long_longValue,
103
104
        mid_Short_shortValue,
 
105
        mid_Boolean_init,
 
106
        mid_Byte_init,
 
107
        mid_Character_init,
 
108
        mid_Double_init,
 
109
        mid_Float_init,
 
110
        mid_Integer_init,
 
111
        mid_Long_init,
 
112
        mid_Short_init,
104
113
        max_mid
105
114
    };
106
115
 
205
214
    jlong longValue(jobject obj) const;
206
215
    jshort shortValue(jobject obj) const;
207
216
 
 
217
    jobject boxBoolean(jboolean value) const;
 
218
    jobject boxByte(jbyte value) const;
 
219
    jobject boxChar(jchar value) const;
 
220
    jobject boxDouble(jdouble value) const;
 
221
    jobject boxFloat(jfloat value) const;
 
222
    jobject boxInteger(jint value) const;
 
223
    jobject boxLong(jlong value) const;
 
224
    jobject boxShort(jshort value) const;
 
225
 
208
226
    jmethodID getMethodID(jclass cls, const char *name,
209
227
                                  const char *signature) const;
210
228
    jfieldID getFieldID(jclass cls, const char *name,