#include "ruby.h"
#include "stubs.h"
#include <tcl.h>
#include <tk.h>
Go to the source code of this file.
Defines | |
#define | RSTRING_PTR(s) (RSTRING(s)->ptr) |
#define | RSTRING_LEN(s) (RSTRING(s)->len) |
Functions | |
static void | _nativethread_consistency_check (Tcl_Interp *ip) |
int | ruby_open_tcl_dll (char *appname) |
int | ruby_open_tk_dll () |
int | ruby_open_tcltk_dll (char *appname) |
int | tcl_stubs_init_p () |
int | tk_stubs_init_p () |
Tcl_Interp * | ruby_tcl_create_ip_and_stubs_init (int *st) |
int | ruby_tcl_stubs_init () |
int | ruby_tk_stubs_init (Tcl_Interp *tcl_ip) |
int | ruby_tk_stubs_safeinit (Tcl_Interp *tcl_ip) |
int | ruby_tcltk_stubs () |
Variables | |
static int | nativethread_checked = 0 |
static int | open_tcl_dll = 0 |
static int | call_tk_stubs_init = 0 |
#define RSTRING_PTR | ( | s | ) | (RSTRING(s)->ptr) |
Definition at line 11 of file stubs.c.
Referenced by ruby_open_tk_dll(), ruby_tcl_create_ip_and_stubs_init(), and ruby_tcltk_stubs().
static void _nativethread_consistency_check | ( | Tcl_Interp * | ip | ) | [static] |
Definition at line 42 of file stubs.c.
References nativethread_checked, NULL, rb_warn(), and rb_warning().
Referenced by ruby_tcl_create_ip_and_stubs_init().
int ruby_open_tcl_dll | ( | char * | appname | ) |
Definition at line 453 of file stubs.c.
Referenced by Init_tcltklib(), ruby_open_tcltk_dll(), ruby_open_tk_dll(), and ruby_tcl_create_ip_and_stubs_init().
int ruby_open_tcltk_dll | ( | char * | appname | ) |
Definition at line 482 of file stubs.c.
References ruby_open_tcl_dll(), and ruby_open_tk_dll().
int ruby_open_tk_dll | ( | ) |
Definition at line 468 of file stubs.c.
References rb_argv0, RSTRING_PTR, and ruby_open_tcl_dll().
Referenced by ruby_open_tcltk_dll().
Tcl_Interp* ruby_tcl_create_ip_and_stubs_init | ( | int * | st | ) |
Definition at line 505 of file stubs.c.
References _nativethread_consistency_check(), rb_argv0, RSTRING_PTR, and ruby_open_tcl_dll().
Referenced by ip_init().
int ruby_tcl_stubs_init | ( | ) |
Definition at line 529 of file stubs.c.
Referenced by ip_init(), and tcl_stubs_check().
int ruby_tcltk_stubs | ( | ) |
Definition at line 583 of file stubs.c.
References rb_argv0, and RSTRING_PTR.
int ruby_tk_stubs_init | ( | Tcl_Interp * | tcl_ip | ) |
Definition at line 538 of file stubs.c.
Referenced by ip_init(), and tcltkip_init_tk().
int ruby_tk_stubs_safeinit | ( | Tcl_Interp * | tcl_ip | ) |
Definition at line 559 of file stubs.c.
Referenced by tcltkip_init_tk().
int tcl_stubs_init_p | ( | ) |
Definition at line 490 of file stubs.c.
Referenced by tcl_stubs_check().
int tk_stubs_init_p | ( | ) |
Definition at line 496 of file stubs.c.
Referenced by ip_allow_ruby_exit_set(), ip_create_console_core(), ip_create_slave_core(), ip_finalize(), ip_has_mainwindow_p_core(), ip_make_safe_core(), ip_rb_threadTkWaitCommand(), ip_rbTkWaitCommand(), lib_eventloop_core(), lib_num_of_mainwindows_core(), and lib_watchdog_core().
int call_tk_stubs_init = 0 [static] |
int nativethread_checked = 0 [static] |
Definition at line 39 of file stubs.c.
Referenced by _nativethread_consistency_check().
int open_tcl_dll = 0 [static] |