Ruby  2.0.0p645(2015-04-13revision50299)
Functions | Variables
stubs.c File Reference
#include "ruby.h"
#include "stubs.h"
#include <tcl.h>
#include <tk.h>

Go to the source code of this file.

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
 

Function Documentation

static void _nativethread_consistency_check ( Tcl_Interp *  ip)
static

Definition at line 42 of file stubs.c.

References NULL, rb_warn(), and rb_warning().

Referenced by ruby_tcl_create_ip_and_stubs_init().

int ruby_open_tcl_dll ( char *  appname)
int ruby_open_tcltk_dll ( char *  appname)

Definition at line 484 of file stubs.c.

References ruby_open_tcl_dll(), and ruby_open_tk_dll().

int ruby_open_tk_dll ( )

Definition at line 470 of file stubs.c.

References rb_argv0, RSTRING_PTR, ruby_open_tcl_dll(), and TCLTK_STUBS_OK.

Referenced by ruby_open_tcltk_dll().

Tcl_Interp* ruby_tcl_create_ip_and_stubs_init ( int *  st)

Definition at line 507 of file stubs.c.

References _nativethread_consistency_check(), FAIL_CreateInterp, NULL, rb_argv0, RSTRING_PTR, and ruby_open_tcl_dll().

Referenced by ip_init().

int ruby_tcl_stubs_init ( )

Definition at line 531 of file stubs.c.

References TCLTK_STUBS_OK.

Referenced by ip_init(), and tcl_stubs_check().

int ruby_tcltk_stubs ( )

Definition at line 585 of file stubs.c.

References rb_argv0, and RSTRING_PTR.

int ruby_tk_stubs_init ( Tcl_Interp *  tcl_ip)

Definition at line 540 of file stubs.c.

References FAIL_Tk_Init, and TCLTK_STUBS_OK.

Referenced by ip_init(), and tcltkip_init_tk().

int ruby_tk_stubs_safeinit ( Tcl_Interp *  tcl_ip)

Definition at line 561 of file stubs.c.

References FAIL_Tk_Init, and TCLTK_STUBS_OK.

Referenced by tcltkip_init_tk().

int tcl_stubs_init_p ( )

Definition at line 492 of file stubs.c.

Referenced by tcl_stubs_check().

int tk_stubs_init_p ( )

Variable Documentation

int call_tk_stubs_init = 0
static

Definition at line 449 of file stubs.c.

Referenced by tk_stubs_init_p().

int nativethread_checked = 0
static

Definition at line 39 of file stubs.c.

int open_tcl_dll = 0
static

Definition at line 448 of file stubs.c.