JVM

作者: LaMole | 来源:发表于2018-04-25 14:11 被阅读0次

    以下部分摘抄自:
    https://blog.csdn.net/silentbalanceyh/article/details/42643747

    基本类型:跨操作系统部分 ( Jni.h )

    typedef unsigned char jboolean;
    typedef unsigned short jchar;
    typedef short jshort;
    typedef float jfloat;
    typedef double jdouble;
    typedef jint jsize;

    基本类型:Windows特有 ( Jni_mh.h )

    typedef long jint;
    typedef __int64 jlong;
    typedef signed char jbyte;

    基本类型:Solaris特有 ( Jni_mh.h )

    typedef int jint;
    #ifdef _LP64 /* 64-bit Solaris */
    typedef long jlong;
    #else
    typedef long long jlong;
    #endif
    typedef signed char jbyte;

    复杂类型

    class _jobject {};
    class _jclass : public _jobject {};
    class _jthrowable : public _jobject {};
    class _jstring : public _jobject {};
    class _jarray : public _jobject {};
    class _jbooleanArray : public _jarray {};
    class _jbyteArray : public _jarray {};
    class _jcharArray : public _jarray {};
    class _jshortArray : public _jarray {};
    class _jintArray : public _jarray {};
    class _jlongArray : public _jarray {};
    class _jfloatArray : public _jarray {};
    class _jdoubleArray : public _jarray {};
    class _jobjectArray : public _jarray {};

    image.png

    相关文章

      网友评论

          本文标题:JVM

          本文链接:https://www.haomeiwen.com/subject/mtxylftx.html