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

int ruby_open_tk_dll ()
 
int tcl_stubs_init_p ()
 
int tk_stubs_init_p ()
 
 if (!open_tcl_dll)
 
 if (st)
 
 _nativethread_consistency_check (tcl_ip)
 
int ruby_tcl_stubs_init ()
 
int ruby_tcltk_stubs ()
 

Variables

static int nativethread_checked = 0
 
static void Tcl_Interp * ip
 
static int open_tcl_dll = 0
 
static int call_tk_stubs_init = 0
 
int char * appname
 
return TCLTK_STUBS_OK
 
Tcl_Interp *intst
 
return tcl_ip
 

Function Documentation

_nativethread_consistency_check ( tcl_ip  )
if ( open_tcl_dll)

Definition at line 513 of file stubs.c.

References rb_argv0, RSTRING_PTR, and ruby_open_tcl_dll().

if ( st  )

Definition at line 518 of file stubs.c.

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.

int ruby_tcl_stubs_init ( )

Definition at line 531 of file stubs.c.

References TCLTK_STUBS_OK.

Referenced by tcl_stubs_check().

int ruby_tcltk_stubs ( )

Definition at line 585 of file stubs.c.

References rb_argv0, and RSTRING_PTR.

int tcl_stubs_init_p ( )

Definition at line 492 of file stubs.c.

Referenced by tcl_stubs_check().

int tk_stubs_init_p ( )

Definition at line 498 of file stubs.c.

References call_tk_stubs_init.

Referenced by for(), and switch().

Variable Documentation

int char * appname

Definition at line 456 of file stubs.c.

int call_tk_stubs_init = 0
static

Definition at line 449 of file stubs.c.

Referenced by tk_stubs_init_p().

void Tcl_Interp* ip
static
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.

Tcl_Interp* int* st
int Tcl_Interp * tcl_ip

Definition at line 527 of file stubs.c.

return TCLTK_STUBS_OK
Initial value:
{
if (appname) {
Tcl_FindExecutable(appname);
} else {
Tcl_FindExecutable("ruby");
}
int char * appname
Definition: stubs.c:456
static int open_tcl_dll
Definition: stubs.c:448

Definition at line 458 of file stubs.c.

Referenced by if(), Init_tcltklib(), ruby_open_tk_dll(), ruby_tcl_stubs_init(), and tcl_stubs_check().