#define DECLARE_CLASS(class, varname) \
  extern jclass varname;
#define DECLARE_FIELD_ID(class, field, sig, varname) \
  extern jfieldID varname;
#define DECLARE_METHOD_ID(class, method, sig, varname) \
  extern jmethodID varname;
