mirror of
https://github.com/2003scape/deep-c-rsc.git
synced 2024-03-22 05:49:51 -04:00
142 lines
3.7 KiB
C
142 lines
3.7 KiB
C
/* DO NOT EDIT THIS FILE - it is machine generated (JCGO_116) */
|
|
|
|
#ifdef JCGO_SEPARATED
|
|
#define JCGO_116
|
|
#include "jcgortl.h"
|
|
#include "Main.h"
|
|
#endif
|
|
|
|
#ifdef JCGO_116
|
|
|
|
#ifdef CHKALL_java_util_Properties
|
|
#include "jcgobchk.h"
|
|
#endif
|
|
|
|
JCGO_NOSEP_STATIC java_util_Properties CFASTCALL
|
|
java_util_Properties__this__( java_util_Properties This )
|
|
{
|
|
{
|
|
(java_util_Hashtable__this__((java_util_Hashtable)This));
|
|
}
|
|
return This;
|
|
}
|
|
|
|
JCGO_NOSEP_FRWINL java_util_Properties CFASTCALL
|
|
java_util_Properties__new__( void )
|
|
{
|
|
return java_util_Properties__this__(
|
|
(java_util_Properties)jcgo_newObject((jvtable)&java_util_Properties_methods));
|
|
}
|
|
|
|
JCGO_NOSEP_FRWINL java_lang_Object CFASTCALL
|
|
java_util_Properties__setProperty__LsLs( java_util_Properties This,
|
|
java_lang_String key, java_lang_String value )
|
|
{
|
|
{
|
|
return (java_util_Hashtable__put__LoLo(
|
|
(java_util_Hashtable)This, (java_lang_Object)key, (java_lang_Object)value));
|
|
}
|
|
}
|
|
|
|
JCGO_NOSEP_STATIC java_lang_String CFASTCALL
|
|
java_util_Properties__getProperty__Ls( java_util_Properties This,
|
|
java_lang_String key )
|
|
{
|
|
{
|
|
java_util_Properties prop;
|
|
prop= This;
|
|
do
|
|
{
|
|
java_lang_Object value;
|
|
value= (JCGO_CALL_FINALF(prop) java_util_Hashtable__get__Lo(
|
|
(java_util_Hashtable)prop, (java_lang_Object)key));
|
|
if (jcgo_instanceOf0(OBJT_java_lang_String, MAXT_java_lang_String,
|
|
(jObject)value))
|
|
{
|
|
return (java_lang_String)value;
|
|
}
|
|
prop= ((java_util_Properties)jnull);
|
|
}
|
|
while (prop != jnull);
|
|
return (java_lang_String)jnull;
|
|
}
|
|
}
|
|
|
|
JCGO_NOSEP_STATIC java_lang_String CFASTCALL
|
|
java_util_Properties__getProperty__LsLs( java_util_Properties This,
|
|
java_lang_String key, java_lang_String defaultValue )
|
|
{
|
|
{
|
|
java_lang_String prop;
|
|
prop= (java_util_Properties__getProperty__Ls(
|
|
This, key));
|
|
if (prop == jnull)
|
|
{
|
|
prop= defaultValue;
|
|
}
|
|
return prop;
|
|
}
|
|
}
|
|
|
|
JCGO_NOSEP_DATA CONST struct java_util_Properties_methods_s java_util_Properties_methods=
|
|
{
|
|
JCGO_CLASSREF_OF(java_util_Properties__class),
|
|
JCGO_GCJDESCR_INIT(java_util_Properties_s, entries)
|
|
OBJT_java_util_Properties,
|
|
(JCGO_OBJSIZE_T)sizeof(struct java_util_Properties_s),
|
|
NULL,
|
|
JCGO_CLINIT_INIT(0)
|
|
java_util_Properties__this__,
|
|
java_util_Hashtable__equals__Lo,
|
|
java_util_Hashtable__hashCode__,
|
|
java_util_Hashtable__toString__,
|
|
java_lang_Object__finalize__,
|
|
java_util_Hashtable__entrySet__,
|
|
java_util_Hashtable__isEmpty__
|
|
};
|
|
|
|
JCGO_NOSEP_DATA JCGO_NOTHR_CONST struct java_util_Properties_class_s
|
|
java_util_Properties__class JCGO_THRD_ATTRNONGC=
|
|
{
|
|
{
|
|
&java_lang_Class_methods,
|
|
JCGO_MON_INIT
|
|
JCGO_OBJREF_OF(*(java_lang_Object)&java_util_Properties_methods),
|
|
JCGO_STRREF_OF(jcgo_string1_Prprts),
|
|
JCGO_CLASSREF_OF(java_util_Hashtable__class),
|
|
((jObjectArr)JCGO_OBJREF_OF(jcgo_array3_Object)),
|
|
0x1
|
|
}
|
|
};
|
|
|
|
JCGO_NOSEP_DATA CONST jcgo_arrtype23_Object jcgo_array2_Prprts=
|
|
{
|
|
(jvtable)&jbyteArr_methods,
|
|
JCGO_MON_INIT
|
|
20,
|
|
{
|
|
(jbyte)(jchar)106/*'j'*/, (jbyte)(jchar)97/*'a'*/, (jbyte)(jchar)118/*'v'*/,
|
|
(jbyte)(jchar)97/*'a'*/, (jbyte)(jchar)46/*'.'*/, (jbyte)(jchar)117/*'u'*/,
|
|
(jbyte)(jchar)116/*'t'*/, (jbyte)(jchar)105/*'i'*/, (jbyte)(jchar)108/*'l'*/,
|
|
(jbyte)(jchar)46/*'.'*/, (jbyte)(jchar)80/*'P'*/, (jbyte)(jchar)114/*'r'*/,
|
|
(jbyte)(jchar)111/*'o'*/, (jbyte)(jchar)112/*'p'*/, (jbyte)(jchar)101/*'e'*/,
|
|
(jbyte)(jchar)114/*'r'*/, (jbyte)(jchar)116/*'t'*/, (jbyte)(jchar)105/*'i'*/,
|
|
(jbyte)(jchar)101/*'e'*/, (jbyte)(jchar)115/*'s'*/
|
|
}
|
|
};
|
|
|
|
JCGO_NOSEP_DATA JCGO_NOTHR_CONST struct java_lang_String_s jcgo_string1_Prprts
|
|
JCGO_THRD_ATTRNONGC=
|
|
{
|
|
&java_lang_String_methods,
|
|
JCGO_MON_INIT
|
|
(java_lang_Object)JCGO_OBJREF_OF(jcgo_array2_Prprts),
|
|
0, 20, (jint)0x790e6f3L
|
|
};
|
|
|
|
#ifdef CHKALL_java_util_Properties
|
|
#include "jcgochke.h"
|
|
#endif
|
|
|
|
#endif
|