Newer
Older
extern "C" void Init_layout(void);
extern "C" void Init_list(void);
extern "C" void Init_mdi(void);
extern "C" void Init_menu(void);
#ifdef WITH_FXSCINTILLA
extern "C" void Init_scintilla(void);
#endif
extern "C" void Init_table(void);
extern "C" void Init_text(void);
extern "C" void Init_treelist(void);
extern "C" void Init_ui(void);
#ifdef USE_RB_REQUIRE
#define REQUIRE(fname) rb_require((fname))
#else
#define REQUIRE(fname) rb_funcall(rb_mKernel,rb_intern("require"),1,rb_str_new2((fname)))
#endif
Lyle Johnson
committed
extern "C" void
#if defined _WIN32
__declspec(dllexport)
#endif
Init_fox16(void) {
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
Init_core();
Init_dc();
Init_frames();
Init_layout();
Init_label();
Init_ui();
Init_iconlist();
Init_list();
Init_dialogs();
Init_image();
Init_icons();
Init_menu();
Init_mdi();
Init_fx3d();
#ifdef WITH_FXSCINTILLA
Init_scintilla();
#endif
Init_table();
Init_text();
Init_treelist();
REQUIRE("fox16/core");
REQUIRE("fox16/dict");
REQUIRE("fox16/settings");
REQUIRE("fox16/iterators");
REQUIRE("fox16/keys");
REQUIRE("fox16/aliases");
REQUIRE("fox16/responder2");
REQUIRE("fox16/glgroup");
REQUIRE("fox16/execute_nonmodal");
REQUIRE("fox16/version");
REQUIRE("fox16/kwargs");
REQUIRE("fox16/exceptions_for_fxerror");
id_assocs=rb_intern("@assocs");
id_backtrace=rb_intern("backtrace");
id_cmp=rb_intern("<=>");
id_begin=rb_intern("begin");
id_end=rb_intern("end");
id_exclude_endp=rb_intern("exclude_end?");
FXRuby_Objects=st_init_numtable();
appSensitiveObjs=st_init_numtable();
appSensitiveDCs=st_init_numtable();
}