Changeset 29181 in vbox for trunk/src/libs/xpcom18a4/xpcom
- Timestamp:
- May 7, 2010 12:02:15 AM (15 years ago)
- svn:sync-xref-src-repo-rev:
- 61258
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/libs/xpcom18a4/xpcom/typelib/xpidl/xpidl_java.c
r29178 r29181 869 869 870 870 fputc('\n', state->file); 871 #ifndef VBOX_XPIDL_EMULATE_GENJIFACES_DIFF 871 872 xpidl_write_comment(state, 4); 872 873 #ifdef VBOX_XPIDL_EMULATE_GENJIFACES /* (from typelib_const_dcl)*/ 873 #endif 874 875 #ifdef VBOX_XPIDL_EMULATE_GENJIFACES 874 876 # ifdef VBOX_XPIDL_EMULATE_GENJIFACES_DIFF 875 877 fputs(" public static final ", state->file); … … 879 881 if (IDL_TYPE_INTEGER(real_type).f_type == IDL_INTEGER_TYPE_LONG) { 880 882 if (IDL_TYPE_INTEGER(real_type).f_signed) 881 fprintf(state->file, "int %s = %" IDL_LL "d;\n", name, IDL_INTEGER(d cl->const_exp).value);883 fprintf(state->file, "int %s = %" IDL_LL "d;\n", name, IDL_INTEGER(declaration->const_exp).value); 882 884 else 883 fprintf(state->file, "long %s = %" IDL_LL "uL;\n", name, IDL_INTEGER(d cl->const_exp).value);885 fprintf(state->file, "long %s = %" IDL_LL "uL;\n", name, IDL_INTEGER(declaration->const_exp).value); 884 886 } else { 885 887 if (IDL_TYPE_INTEGER(real_type).f_signed) 886 fprintf(state->file, "short %s = %" IDL_LL "d;\n", name, IDL_INTEGER(d cl->const_exp).value);888 fprintf(state->file, "short %s = %" IDL_LL "d;\n", name, IDL_INTEGER(declaration->const_exp).value); 887 889 else 888 fprintf(state->file, "int %s = %" IDL_LL "u;\n", name, IDL_INTEGER(d cl->const_exp).value);890 fprintf(state->file, "int %s = %" IDL_LL "u;\n", name, IDL_INTEGER(declaration->const_exp).value); 889 891 } 890 892 #else /* !VBOX_XPIDL_EMULATE_GENJIFACES */
Note:
See TracChangeset
for help on using the changeset viewer.