Back to index

lightning-sunbird  0.9+nobinonly
Defines
StringOperations.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define IMPLEMENT_GetFieldID_METHOD(class_name, param_name, returnType)
#define IMPLEMENT_GetStaticFieldID_METHOD(class_name, param_name, returnType)
#define IMPLEMENT_GetMethodID_METHOD(class_name, func_name, returnType)
#define IMPLEMENT_GetStaticMethodID_METHOD(class_name, func_name, returnType)

Define Documentation

#define IMPLEMENT_GetFieldID_METHOD (   class_name,
  param_name,
  returnType 
)
Value:
\
        jclass clazz = env->FindClass(class_name); \
        /*jobject obj = env->AllocObject(clazz); */    \
        jfieldID fieldID = env->GetFieldID(clazz, param_name, returnType ); \
        printf("fieldID = %d\n", (int)fieldID); \

Definition at line 38 of file StringOperations.h.

#define IMPLEMENT_GetMethodID_METHOD (   class_name,
  func_name,
  returnType 
)
Value:
jclass clazz = env->FindClass(class_name);\
        jobject obj = env->AllocObject(clazz);    \
        jmethodID MethodID = env->GetMethodID(clazz, func_name, returnType);\
        printf("ID of %s method = %d\n", func_name, (int)MethodID);

Definition at line 52 of file StringOperations.h.

#define IMPLEMENT_GetStaticFieldID_METHOD (   class_name,
  param_name,
  returnType 
)
Value:
\
        jclass clazz = env->FindClass(class_name); \
        /*jobject obj = env->AllocObject(clazz); */    \
        jfieldID fieldID = env->GetStaticFieldID(clazz, param_name, returnType ); \
        printf("fieldID = %d\n", (int)fieldID); \

Definition at line 45 of file StringOperations.h.

#define IMPLEMENT_GetStaticMethodID_METHOD (   class_name,
  func_name,
  returnType 
)
Value:
jclass clazz = env->FindClass(class_name);\
        jobject obj = env->AllocObject(clazz);    \
        jmethodID MethodID = env->GetStaticMethodID(clazz, func_name, returnType);\
        printf("ID of static %s method = %d\n", func_name, (int)MethodID);

Definition at line 58 of file StringOperations.h.