Ruby  2.1.10p492(2016-04-01revision54464)
Data Structures | Macros | Enumerations | Functions | Variables
tcltklib.c File Reference
#include "ruby.h"
#include "ruby/encoding.h"
#include "rubysig.h"
#include <stdio.h>
#include <varargs.h>
#include <string.h>
#include <tcl.h>
#include <tk.h>
#include "stubs.h"

Go to the source code of this file.

Data Structures

struct  invoke_queue
 
struct  eval_queue
 
struct  call_queue
 
struct  cmd_body_arg
 
struct  tcltkip
 
struct  evloop_params
 
struct  thread_call_proc_arg
 
struct  th_update_param
 
struct  th_vwait_param
 
struct  invoke_info
 

Macros

#define TCLTKLIB_RELEASE_DATE   "2010-08-25"
 
#define RUBY_VERSION   "(unknown version)"
 
#define RUBY_RELEASE_DATE   "unknown release-date"
 
#define rb_thread_check_trap_pending()   (0+rb_trap_pending)
 
#define RbTk_OBJ_UNTRUST(x)   do {OBJ_TAINT(x); OBJ_UNTRUST(x);} while (0)
 
#define RbTk_ALLOC_N(type, n)   (type *)ckalloc((int)(sizeof(type) * (n)))
 
#define va_init_list(a, b)   va_start(a)
 
#define ruby_native_thread_p()   is_ruby_native_thread()
 
#define rb_errinfo()   (ruby_errinfo+0) /* cannot be l-value */
 
#define rb_safe_level()   (ruby_safe_level+0)
 
#define rb_sourcefile()   (ruby_sourcefile+0)
 
#define TCL_ALPHA_RELEASE   0 /* "alpha" */
 
#define TCL_BETA_RELEASE   1 /* "beta" */
 
#define TCL_FINAL_RELEASE   2 /* "final" */
 
#define CONST
 
#define CONST84
 
#define CONST86   CONST84
 
#define TAG_RETURN   0x1
 
#define TAG_BREAK   0x2
 
#define TAG_NEXT   0x3
 
#define TAG_RETRY   0x4
 
#define TAG_REDO   0x5
 
#define TAG_RAISE   0x6
 
#define TAG_THROW   0x7
 
#define TAG_FATAL   0x8
 
#define DUMP1(ARG1)   if (ruby_debug) { fprintf(stderr, "tcltklib: %s\n", ARG1); fflush(stderr); }
 
#define DUMP2(ARG1, ARG2)
 
#define DUMP3(ARG1, ARG2, ARG3)
 
#define rb_hash_lookup   rb_hash_aref
 
#define rb_thread_alive_p(thread)   rb_funcall2((thread), ID_alive_p, 0, NULL)
 
#define Tcl_Eval   tcl_eval
 
#define Tcl_GlobalEval   tcl_global_eval
 
#define Tcl_IncrRefCount(obj)   (1)
 
#define Tcl_DecrRefCount(obj)   (1)
 
#define Tcl_GetStringResult(interp)   ((interp)->result)
 
#define CONTROL_BY_STATUS_OF_RB_THREAD_WAITING_FOR_VALUE   1
 
#define USE_TOGGLE_WINDOW_MODE_FOR_IDLE   0
 
#define DO_THREAD_SCHEDULE_AT_CALLBACK_DONE   0
 
#define DEFAULT_EVENT_LOOP_MAX   800/*counts*/
 
#define DEFAULT_NO_EVENT_TICK   10/*counts*/
 
#define DEFAULT_NO_EVENT_WAIT   20/*milliseconds ( 1 -- 999 ) */
 
#define WATCHDOG_INTERVAL   10/*milliseconds ( 1 -- 999 ) */
 
#define DEFAULT_TIMER_TICK   0/*milliseconds ( 0 -- 999 ) */
 
#define NO_THREAD_INTERRUPT_TIME   100/*milliseconds ( 1 -- 999 ) */
 
#define EVENT_HANDLER_TIMEOUT   100/*milliseconds*/
 
#define TCL_NAMESPACE_DEBUG   0
 
#define USE_RUBY_ALLOC   0
 
#define USE_EVLOOP_THREAD_ALONE_CHECK_FLAG   0
 
#define TRAP_CHECK()
 
#define EVLOOP_WAKEUP_CHANCE   3
 
#define SUPPORT_NESTED_CONST_AS_IP_RUBY_CMD_RECEIVER   1
 
#define TKWAIT_MODE_VISIBILITY   1
 
#define TKWAIT_MODE_DESTROY   2
 
#define TCL_CANCEL_UNWIND   0x100000
 
#define TK_WINDOWING_SYSTEM   "x11"
 
#define DEFAULT_EVENTLOOP_DEPTH   7
 

Enumerations

enum  { thread_alone_check_flag = 1 }
 
enum  updateOptions { REGEXP_IDLETASKS, REGEXP_IDLETASKS }
 
enum  updateOptions { REGEXP_IDLETASKS, REGEXP_IDLETASKS }
 
enum  options {
  TKWAIT_VARIABLE, TKWAIT_VISIBILITY, TKWAIT_WINDOW, TKWAIT_VARIABLE,
  TKWAIT_VISIBILITY, TKWAIT_WINDOW
}
 
enum  options {
  TKWAIT_VARIABLE, TKWAIT_VISIBILITY, TKWAIT_WINDOW, TKWAIT_VARIABLE,
  TKWAIT_VISIBILITY, TKWAIT_WINDOW
}
 

Functions

static void set_tcltk_version ()
 
static void ip_finalize _ ((Tcl_Interp *))
 
static VALUE
create_dummy_encoding_for_tk_core 
_ ((VALUE, VALUE, VALUE))
 
static VALUE
create_dummy_encoding_for_tk 
_ ((VALUE, VALUE))
 
static VALUE create_encoding_table _ ((VALUE))
 
static VALUE ip_invoke_real _ ((int, VALUE *, VALUE))
 
static VALUE
ip_invoke_with_position 
_ ((int, VALUE *, VALUE, Tcl_QueuePosition))
 
static VALUE tk_funcall _ ((VALUE(), int, VALUE *, VALUE))
 
 Tcl_AllowExceptions (interp)
 
 free (buf)
 
int matherr ()
 
void invoke_queue_mark (struct invoke_queue *q)
 
void eval_queue_mark (struct eval_queue *q)
 
void call_queue_mark (struct call_queue *q)
 
static int ip_ruby_eval _ ((ClientData, Tcl_Interp *, int, char **))
 
 Data_Get_Struct (self, struct tcltkip, ptr)
 
 if (ptr==0)
 
 if (ptr->ip==(Tcl_Interp *) NULL)
 
 return (ptr->ref_count)
 
 if (ptr->ref_count< 0)
 
 va_init_list (args, fmt)
 
 va_end (args)
 
 rb_ivar_set (einfo, ID_at_interp, interp)
 
static void tcl_stubs_check ()
 
 DUMP1 ("Tk_Init")
 
 if (ruby_tk_stubs_init(ptr->ip)!=TCLTK_STUBS_OK)
 
static int pending_exception_check0 ()
 
 if (!NIL_P(exc)&&rb_obj_is_kind_of(exc, rb_eException))
 
 DUMP1 ("original_exit is called")
 
 if (!ptr->has_orig_exit)
 
 DUMP1 ("complete original_exit")
 
static void _timer_for_tcl _ ((ClientData))
 
 DUMP1 ("call _timer_for_tcl")
 
 Tcl_DeleteTimerHandler (timer_token)
 
 if (timer_tick > 0)
 
 if (deleted_ip(ptr))
 
 if (Tcl_GetMaster(ptr->ip)!=(Tcl_Interp *) NULL)
 
return set_eventloop_tick (self, tick)
 
 if (t_wait<=0)
 
return set_no_event_wait (self, wait)
 
 if (lpmax<=0||no_ev<=0)
 
return rb_ary_new3 (2, loop_max, no_event)
 
return set_eventloop_weight (self, loop_max, no_event)
 
 switch (TYPE(time))
 
return lib_evloop_abort_on_exc_set (self, val)
 
void rbtk_EventSetupProc (ClientData clientData, int flag)
 
void rbtk_EventCheckProc (ClientData clientData, int flag)
 
 if (Tcl_DoOneEvent(flag))
 
static int trap_check (int *check_var)
 
static int check_eventloop_interp ()
 
 if (update_flag)
 
 for (;;)
 
 Tcl_CreateEventSource (rbtk_EventSetupProc, rbtk_EventCheckProc,(ClientData) args)
 
 if (lib_eventloop_core(params->check_root, params->update_flag, params->check_var, params->interp))
 
 Tcl_DeleteEventSource (rbtk_EventSetupProc, rbtk_EventCheckProc,(ClientData) args)
 
 DUMP2 ("eventloop_ensure: current-thread : %lx", current_evloop)
 
 DUMP2 ("eventloop_ensure: eventloop-thread : %lx", eventloop_thread)
 
 if (eventloop_thread!=current_evloop)
 
 while ((eventloop_thread=rb_ary_pop(eventloop_stack)))
 
 xfree (ptr)
 
 DUMP2 ("finish current eventloop %lx", current_evloop)
 
 if (parent_evloop==eventloop_thread)
 
 if (!NIL_P(parent_evloop)&&parent_evloop!=eventloop_thread)
 
 rb_ary_push (eventloop_stack, parent_evloop)
 
 DUMP3 ("tcltklib: eventloop-thread : %lx -> %lx\n", parent_evloop, eventloop_thread)
 
return rb_ensure (lib_eventloop_main_core,(VALUE) args, lib_eventloop_ensure,(VALUE) args)
 
 if (rb_scan_args(argc, argv,"01",&check_rootwidget)==0)
 
else if (RTEST(check_rootwidget))
 
return lib_eventloop_launcher (RTEST(check_rootwidget), 0,(int *) NULL,(Tcl_Interp *) NULL)
 
 if (!NIL_P(watchdog_thread))
 
 rb_raise (rb_eNotImpError,"eventloop_watchdog is not implemented on Ruby VM.")
 
return rb_ensure (lib_watchdog_core, check_rootwidget, lib_watchdog_ensure, Qnil)
 
return lib_mainloop_watchdog (argc, argv, self)
 
void _thread_call_proc_arg_mark (struct thread_call_proc_arg *q)
 
return rb_funcall (q->proc, ID_call, 0)
 
return rb_ensure (_thread_call_proc_core,(VALUE) q, _thread_call_proc_ensure,(VALUE) q)
 
 if (rb_scan_args(argc, argv,"01",&proc)==0)
 
 rb_thread_schedule ()
 
 lib_eventloop_launcher (0, 0, q->done,(Tcl_Interp *) NULL)
 
 if (RTEST(rb_thread_alive_p(th)))
 
 xfree (q->done)
 
 xfree (q)
 
 if (NIL_P(rbtk_pending_exception))
 
 rb_exc_raise (exc)
 
 if (!NIL_P(eventloop_thread))
 
 if (rb_scan_args(argc, argv,"01",&vflags)==0)
 
 if (rb_safe_level() >=4||(rb_safe_level() >=1 &&OBJ_TAINTED(vflags)))
 
 if (is_ip)
 
 if (pending_exception_check0())
 
 if (found_event)
 
 StringValue (msg)
 
 Tcl_AppendResult (interp, RSTRING_PTR(msg),(char *) NULL)
 
static int tcl_protect_core (Tcl_Interp *interp, VALUE(*proc)(), VALUE data)
 
 if (!ruby_native_thread_p())
 
 if (interp==(Tcl_Interp *) NULL)
 
 if (argc!=2)
 
 DUMP2 ("rb_eval_string(%s)", arg)
 
 DUMP1 ("call ip_ruby_cmd_core")
 
 DUMP2 ("rb_apply return:%lx", ret)
 
 DUMP1 ("finish ip_ruby_cmd_core")
 
 if (state)
 
 if (str[0]== ':'||('A'<=str[0]&&str[0]<= 'Z'))
 
 memcpy (buf+1, str, len)
 
 xfree (buf)
 
 DUMP2 ("receiver:%s", str)
 
 if (NIL_P(receiver))
 
 for (i=3;i< argc;i++)
 
 if (old_gc==Qfalse)
 
 DUMP1 ("start ip_RubyExitCommand")
 
 if (argc< 1||argc > 2)
 
 switch (argc)
 
static int ip_rbUpdateCommand _ ((ClientData, Tcl_Interp *, int, char *[]))
 
 DUMP1 ("Ruby's 'update' is called")
 
 Tcl_ResetResult (interp)
 
 if (objc==1)
 
 Tcl_Preserve (interp)
 
 lib_eventloop_launcher (0, flags,(int *) NULL, interp)
 
 if (!NIL_P(rbtk_pending_exception))
 
 if (rb_thread_check_trap_pending())
 
 DUMP2 ("last result '%s'", Tcl_GetStringResult(interp))
 
 Tcl_Release (interp)
 
 DUMP1 ("finish Ruby's 'update'")
 
 DUMP1 ("threadUpdateProc is called")
 
 rb_thread_wakeup (param->thread)
 
 DUMP1 ("Ruby's 'thread_update' is called")
 
 NIL_P (eventloop_thread)
 
 DUMP1 ("start Ruby's 'thread_update' body")
 
 DUMP1 ("pass argument check")
 
 DUMP1 ("set idle proc")
 
 Tcl_DoWhenIdle (rb_threadUpdateProc,(ClientData) param)
 
 while (!param->done)
 
 ckfree ((char *) param)
 
 DUMP1 ("finish Ruby's 'thread_update'")
 
static char *VwaitVarProc _ ((ClientData, Tcl_Interp *, char *, char *, int))
 
 return (char *)
 
static void WaitWindowProc _ ((ClientData, XEvent *))
 
 if (eventPtr->type==DestroyNotify)
 
 DUMP1 ("Ruby's 'tkwait' is called")
 
 if (objc!=3)
 
 if ((c== 'v')&&(strncmp(objv[1],"variable", length)==0)&&(length >=2))
 
else if ((c== 'v')&&(strncmp(objv[1],"visibility", length)==0)&&(length >=2))
 
else if ((c== 'w')&&(strncmp(objv[1],"window", length)==0))
 
 switch ((enum options) index)
 
 if (flags &(TCL_INTERP_DESTROYED|TCL_TRACE_DESTROYED))
 
 if (param->done!=0)
 
 DUMP1 ("Ruby's 'thread_tkwait' is called")
 
 if (rb_thread_alone()||eventloop_thread==current_thread)
 
 Tcl_Preserve (tkwin)
 
 Tcl_Release (tkwin)
 
 Tcl_Preserve ((ClientData) param)
 
 Tcl_Release ((ClientData) param)
 
return ip_invoke_with_position (2, argv, self, TCL_QUEUE_TAIL)
 
return ip_invoke_with_position (3, argv, self, TCL_QUEUE_TAIL)
 
 DUMP1 ("delete slaves")
 
 if (!Tcl_InterpDeleted(ip)&&Tcl_Eval(ip,"interp slaves")==TCL_OK)
 
 DUMP1 ("start ip_finalize")
 
 if (ip==(Tcl_Interp *) NULL)
 
 if (Tcl_InterpDeleted(ip))
 
 Tcl_Preserve (ip)
 
 delete_slaves (ip)
 
 if (at_exit)
 
 DUMP1 ("destroy root widget")
 
 if (tk_stubs_init_p()&&Tk_MainWindow(ip)!=(Tk_Window) NULL)
 
 DUMP1 ("check `finalize-hook-proc'")
 
 if (Tcl_GetCommandInfo(ip, finalize_hook_name,&info))
 
 DUMP1 ("check `foreach' & `after'")
 
&& Tcl_GetCommandInfo (ip,"after",&info))
 
 Tcl_Release (ip)
 
 DUMP1 ("finish ip_finalize")
 
 DUMP2 ("free Tcl Interp %lx",(unsigned long) ptr->ip)
 
 DUMP1 ("complete freeing Tcl Interp")
 
 Tcl_CreateCommand (interp,"vwait", ip_rbVwaitCommand,(ClientData) NULL,(Tcl_CmdDeleteProc *) NULL)
 
 DUMP1 ("Tcl_CreateCommand(\"tkwait\")")
 
 Tcl_CreateCommand (interp,"tkwait", ip_rbTkWaitCommand,(ClientData) mainWin,(Tcl_CmdDeleteProc *) NULL)
 
 DUMP1 ("Tcl_CreateCommand(\"thread_vwait\")")
 
 Tcl_CreateCommand (interp,"thread_vwait", ip_rb_threadVwaitCommand,(ClientData) NULL,(Tcl_CmdDeleteProc *) NULL)
 
 DUMP1 ("Tcl_CreateCommand(\"thread_tkwait\")")
 
 Tcl_CreateCommand (interp,"thread_tkwait", ip_rb_threadTkWaitCommand,(ClientData) mainWin,(Tcl_CmdDeleteProc *) NULL)
 
 DUMP1 ("Tcl_CreateCommand(\"update\")")
 
 Tcl_CreateCommand (interp,"update", ip_rbUpdateCommand,(ClientData) mainWin,(Tcl_CmdDeleteProc *) NULL)
 
 DUMP1 ("Tcl_CreateCommand(\"thread_update\")")
 
 Tcl_CreateCommand (interp,"thread_update", ip_rb_threadUpdateCommand,(ClientData) mainWin,(Tcl_CmdDeleteProc *) NULL)
 
 if (slave==NULL)
 
 DUMP1 ("Tcl_CreateCommand(\"exit\") --> \"interp_exit\"")
 
 Tcl_CreateCommand (slave,"exit", ip_InterpExitCommand,(ClientData) mainWin,(Tcl_CmdDeleteProc *) NULL)
 
 ip_replace_wait_commands (slave, mainWin)
 
 DUMP1 ("start ip_CallWhenDeleted")
 
 ip_finalize (ip)
 
 DUMP1 ("finish ip_CallWhenDeleted")
 
 if (rb_safe_level() >=4)
 
 DATA_PTR (self)
 
 DUMP1 ("Tcl_CreateInterp")
 
 rbtk_preserve_ip (ptr)
 
 DUMP2 ("IP ref_count = %d", ptr->ref_count)
 
 Tcl_Eval (ptr->ip,"set argc 0; set argv {}; set argv0 tcltklib.so")
 
 switch (cnt)
 
 DUMP1 ("Tcl_Init")
 
 if (Tcl_Init(ptr->ip)==TCL_ERROR)
 
 if (with_tk)
 
 DUMP1 ("Tcl_CreateCommand(\"ruby\")")
 
 Tcl_CreateCommand (ptr->ip,"ruby", ip_ruby_eval,(ClientData) NULL,(Tcl_CmdDeleteProc *) NULL)
 
 DUMP1 ("Tcl_CreateCommand(\"ruby_eval\")")
 
 Tcl_CreateCommand (ptr->ip,"ruby_eval", ip_ruby_eval,(ClientData) NULL,(Tcl_CmdDeleteProc *) NULL)
 
 DUMP1 ("Tcl_CreateCommand(\"ruby_cmd\")")
 
 Tcl_CreateCommand (ptr->ip,"ruby_cmd", ip_ruby_cmd,(ClientData) NULL,(Tcl_CmdDeleteProc *) NULL)
 
 DUMP1 ("Tcl_CreateCommand(\"interp_exit\")")
 
 Tcl_CreateCommand (ptr->ip,"interp_exit", ip_InterpExitCommand,(ClientData) mainWin,(Tcl_CmdDeleteProc *) NULL)
 
 DUMP1 ("Tcl_CreateCommand(\"ruby_exit\")")
 
 Tcl_CreateCommand (ptr->ip,"ruby_exit", ip_RubyExitCommand,(ClientData) mainWin,(Tcl_CmdDeleteProc *) NULL)
 
 DUMP1 ("Tcl_CreateCommand(\"exit\") --> \"ruby_exit\"")
 
 Tcl_CreateCommand (ptr->ip,"exit", ip_RubyExitCommand,(ClientData) mainWin,(Tcl_CmdDeleteProc *) NULL)
 
 ip_replace_wait_commands (ptr->ip, mainWin)
 
 ip_wrap_namespace_command (ptr->ip)
 
 Tcl_CreateCommand (ptr->ip,"__replace_slave_tk_commands__", ip_rb_replaceSlaveTkCmdsCommand,(ClientData) NULL,(Tcl_CmdDeleteProc *) NULL)
 
 Tcl_CallWhenDeleted (ptr->ip, ip_CallWhenDeleted,(ClientData) mainWin)
 
 if (mainWin!=(Tk_Window) NULL)
 
 if (deleted_ip(master))
 
 if (Tcl_IsSafe(master->ip)==1)
 
else if (safemode==Qfalse||NIL_P(safemode))
 
 if (slave->ip==NULL)
 
 rbtk_preserve_ip (slave)
 
 Tcl_CreateCommand (slave->ip,"exit", ip_InterpExitCommand,(ClientData) mainWin,(Tcl_CmdDeleteProc *) NULL)
 
 ip_replace_wait_commands (slave->ip, mainWin)
 
 ip_wrap_namespace_command (slave->ip)
 
 Tcl_CreateCommand (slave->ip,"__replace_slave_tk_commands__", ip_rb_replaceSlaveTkCmdsCommand,(ClientData) NULL,(Tcl_CmdDeleteProc *) NULL)
 
 Tcl_CallWhenDeleted (slave->ip, ip_CallWhenDeleted,(ClientData) mainWin)
 
return Data_Wrap_Struct (CLASS_OF(interp), 0, ip_free, slave)
 
 if (rb_scan_args(argc, argv,"11",&name,&safemode)==1)
 
 if (Tcl_IsSafe(master->ip)!=1 &&(safemode==Qfalse||NIL_P(safemode)))
 
 StringValue (name)
 
return tk_funcall (ip_create_slave_core, 2, callargv, self)
 
 if (Tcl_GetVar(ptr->ip,"tcl_interactive", TCL_GLOBAL_ONLY)==(char *) NULL)
 
 rb_notimplement ()
 
return tk_funcall (ip_create_console_core, 0,(VALUE *) NULL, self)
 
 if (Tcl_MakeSafe(ptr->ip)==TCL_ERROR)
 
 Tcl_CreateCommand (ptr->ip,"exit", ip_InterpExitCommand,(ClientData) mainWin,(Tcl_CmdDeleteProc *) NULL)
 
return tk_funcall (ip_make_safe_core, 0,(VALUE *) NULL, self)
 
 if (Tcl_IsSafe(ptr->ip))
 
 if (RTEST(val))
 
 DUMP1 ("delete interp")
 
 if (!Tcl_InterpDeleted(ptr->ip))
 
 if (deleted_ip(ptr)||!tk_stubs_init_p())
 
else if (Tk_MainWindow(ptr->ip)==(Tk_Window) NULL)
 
 Data_Get_Struct (callq, struct call_queue, q)
 
 rb_set_safe_level (q->safe_level)
 
 return ((q->func)(q->interp, q->argc, q->argv))
 
static int call_queue_handler _ ((Tcl_Event *, int))
 
 DUMP2 ("call_queue_handler thread : %lx", rb_thread_current())
 
 DUMP2 ("added by thread : %lx", thread)
 
&& !RTEST (rb_funcall(thread, ID_stop_p, 0)))
 
 if (rb_safe_level()!=q->safe_level)
 
 DUMP2 ("call function (current thread:%lx)", rb_thread_current())
 
 RARRAY_PTR (q->result)[0] = ret
 
 if (RTEST(rb_thread_alive_p(thread)))
 
 DUMP2 (" (current thread:%lx)", rb_thread_current())
 
 if (!NIL_P(ip_obj)&&rb_obj_is_kind_of(ip_obj, tcltkip_class))
 
 if (is_tk_evloop_thread &&(NIL_P(eventloop_thread)||current==eventloop_thread))
 
 DUMP2 ("tk_funcall from thread %lx (NOT current eventloop)", current)
 
 if (argv)
 
 DUMP1 ("add handler")
 
 Tcl_QueueEvent ((Tcl_Event *) callq, TCL_QUEUE_HEAD)
 
 DUMP2 ("callq wait for handler (current thread:%lx)", current)
 
 rb_thread_wait_for (t)
 
 DUMP2 ("*** callq wakeup (current thread:%lx)", current)
 
 DUMP2 ("*** (eventloop thread:%lx)", eventloop_thread)
 
 if (NIL_P(eventloop_thread))
 
 DUMP2 ("back from handler (current thread:%lx)", current)
 
 if (rb_obj_is_kind_of(ret, rb_eException))
 
 DUMP1 ("exit tk_funcall")
 
 DUMP2 ("Tcl_Eval(%s)", cmd_str)
 
 if (pending_exception_check1(thr_crit_bup, ptr))
 
 if (ptr->return_value!=TCL_OK)
 
 DUMP2 ("(TCL_Eval result) %d", ptr->return_value)
 
 rbtk_release_ip (ptr)
 
 Data_Get_Struct (evq, struct eval_queue, q)
 
return ip_eval_real (q->interp, q->str, q->len)
 
 DUMP2 ("eval_queue_thread : %lx", rb_thread_current())
 
 StringValue (str)
 
 DUMP2 ("status: Tcl_GetCurrentThread %p", Tcl_GetCurrentThread())
 
 DUMP2 ("status: eventloopt_thread %lx", eventloop_thread)
 
 if ((NIL_P(eventloop_thread)||current==eventloop_thread))
 
 DUMP2 ("eval from thread %lx (NOT current eventloop)", current)
 
 memcpy (eval_str, RSTRING_PTR(str), RSTRING_LEN(str))
 
 Tcl_QueueEvent ((Tcl_Event *) evq, position)
 
 DUMP2 ("evq wait for handler (current thread:%lx)", current)
 
 DUMP2 ("*** evq wakeup (current thread:%lx)", current)
 
 ckfree (eval_str)
 
 if (rb_scan_args(argc, argv,"01",&retval)==0)
 
 if (ip_cancel_eval_core(get_ip(self) ->ip, retval, 0)==TCL_OK)
 
 if (ip_cancel_eval_core(get_ip(self) ->ip, retval, flag)==TCL_OK)
 
 Tcl_ResetResult (ptr->ip)
 
 if (!NIL_P(exc))
 
return tk_funcall (lib_restart_core, 0,(VALUE *) NULL, self)
 
return lib_restart (self)
 
 if (NIL_P(src))
 
 if (rb_scan_args(argc, argv,"11",&str,&encodename)==1)
 
return lib_toUTF8_core (Qnil, str, encodename)
 
return lib_toUTF8_core (self, str, encodename)
 
return lib_fromUTF8_core (Qnil, str, encodename)
 
return lib_fromUTF8_core (self, str, encodename)
 
 DUMP1 ("call invoke_tcl_proc")
 
 DUMP1 ("reset result of tcl-interp")
 
 Tcl_ResetResult (inf->ptr->ip)
 
 DUMP1 ("end of invoke_tcl_proc")
 
 DUMP2 ("call Tcl_GetCommandInfo, %s", cmd)
 
 if (!Tcl_GetCommandInfo(ptr->ip, cmd,&info))
 
 DUMP1 ("end Tcl_GetCommandInfo")
 
 DUMP1 ("invoke tcl-proc")
 
 rb_protect (invoke_tcl_proc,(VALUE)&inf,&status)
 
 DUMP2 ("status of tcl-proc, %d", status)
 
 switch (status)
 
 if (unknown_flag)
 
return ip_get_result_string_obj (ptr->ip)
 
 DUMP2 ("invoke_real called by thread:%lx", rb_thread_current())
 
 free_invoke_arguments (argc, av)
 
 Data_Get_Struct (ivq, struct invoke_queue, q)
 
return ip_invoke_core (q->interp, q->argc, q->argv)
 
 DUMP2 ("invoke queue_thread : %lx", rb_thread_current())
 
 DUMP2 ("call invoke_real (current thread:%lx)", rb_thread_current())
 
 DUMP2 ("invoke from thread %lx (NOT current eventloop)", current)
 
 DUMP2 ("ivq wait for handler (current thread:%lx)", current)
 
 DUMP2 ("*** ivq wakeup (current thread:%lx)", current)
 
 DUMP1 ("exit ip_invoke")
 
 return (INT2FIX(ptr->return_value))
 
 if (ret==(char *) NULL)
 
 return (strval)
 
 StringValue (varname)
 
 if (!NIL_P(index)) StringValue(index)
 
 if (NIL_P(retval))
 
 StringValue (value)
 
 if (NIL_P(ip_obj))
 
else if (get_ip(ip_obj)==(struct tcltkip *) NULL)
 
 StringValue (list_str)
 
 if (Tcl_SplitList(interp, RSTRING_PTR(list_str),&argc,&argv)==TCL_ERROR)
 
 if (taint_flag)
 
 if (num< argc==0)
 
 if (dst==result)
 
return rb_ary_new3 (4, INT2NUM(tcltk_version.major), INT2NUM(tcltk_version.minor), INT2NUM(tcltk_version.type), INT2NUM(tcltk_version.patchlevel))
 
 switch (tcltk_version.type)
 
static VALUE tcltklib_compile_info ()
 
 if (RTEST(rb_define_dummy_encoding(RSTRING_PTR(name))))
 
 if (NIL_P(interp))
 
 Tcl_DecrRefCount (enc_list)
 
 if (!NIL_P(interp))
 
 if (ptr &&NIL_P(enc))
 
 if (NIL_P(enc))
 
 if (RTEST(rb_obj_is_kind_of(enc, cRubyEncoding)))
 
 if (!NIL_P(rb_hash_lookup(table, name)))
 
 if (idx >=0)
 
 if (RTEST(error_mode))
 
 if (RTEST(rb_obj_is_kind_of(obj, cRubyEncoding)))
 
 rb_set_safe_level (0)
 
 rb_hash_aset (table, ENCODING_NAME_BINARY, encobj)
 
 rb_hash_aset (table, encobj, ENCODING_NAME_BINARY)
 
 Tcl_GetEncodingNames (ptr->ip)
 
 Tcl_IncrRefCount (enc_list)
 
 if (Tcl_ListObjGetElements(ptr->ip, enc_list,&objc,&objv)!=TCL_OK)
 
 rb_ivar_set (table, ID_at_interp, interp)
 
 rb_ivar_set (interp, ID_encoding_table, table)
 
 if (NIL_P(table))
 
return tk_funcall (ip_make_menu_embeddable_core, 1, argv, interp)
 
void Init_tcltklib ()
 

Variables

struct {
   int   major
 
   int   minor
 
   int   type
 
   int   patchlevel
 
tcltk_version = {0, 0, 0, 0}
 
static const char tcltklib_release_date [] = TCLTKLIB_RELEASE_DATE
 
static const char finalize_hook_name [] = "INTERP_FINALIZE_HOOK"
 
static int at_exit = 0
 
static VALUE cRubyEncoding
 
static int ENCODING_INDEX_UTF8
 
static int ENCODING_INDEX_BINARY
 
static VALUE ENCODING_NAME_UTF8
 
static VALUE ENCODING_NAME_BINARY
 
static VALUE eTkCallbackReturn
 
static VALUE eTkCallbackBreak
 
static VALUE eTkCallbackContinue
 
static VALUE eLocalJumpError
 
static VALUE eTkLocalJumpError
 
static VALUE eTkCallbackRetry
 
static VALUE eTkCallbackRedo
 
static VALUE eTkCallbackThrow
 
static VALUE tcltkip_class
 
static ID ID_at_enc
 
static ID ID_at_interp
 
static ID ID_encoding_name
 
static ID ID_encoding_table
 
static ID ID_stop_p
 
static ID ID_alive_p
 
static ID ID_kill
 
static ID ID_join
 
static ID ID_value
 
static ID ID_call
 
static ID ID_backtrace
 
static ID ID_message
 
static ID ID_at_reason
 
static ID ID_return
 
static ID ID_break
 
static ID ID_next
 
static ID ID_to_s
 
static ID ID_inspect
 
static int Tcl_Interp * interp = interp
 
const char * cmd
 
int ret
 
inttclDummyMathPtr = (int *) matherr
 
static VALUE eventloop_thread = rb_thread_current()
 
static Tcl_Interp * eventloop_interp = ptr->ip
 
static VALUE eventloop_stack
 
static int window_event_mode = ~0
 
static VALUE watchdog_thread = rb_thread_current()
 
Tcl_Interp * current_interp = ptr->ip
 
static int have_rb_thread_waiting_for_value = 0
 
static int event_loop_max = DEFAULT_EVENT_LOOP_MAX
 
static int no_event_tick = DEFAULT_NO_EVENT_TICK
 
static int no_event_wait = DEFAULT_NO_EVENT_WAIT
 
static int timer_tick = DEFAULT_TIMER_TICK
 
static int req_timer_tick = DEFAULT_TIMER_TICK
 
static int run_timer_flag = 0
 
static int event_loop_wait_event = 0
 
static int event_loop_abort_on_exc = 1
 
static int loop_counter = 0
 
static int check_rootwidget_flag = 0
 
static struct tcltkip *VALUE self
 
return ptr
 
 else
 
const char * fmt
 
 va_dcl
 
VALUE msg = rb_vsprintf(fmt, args)
 
VALUE einfo = rb_exc_new_str(exc, msg)
 
return Qnil
 
static VALUE rbtk_pending_exception = Qnil
 
static int rbtk_eventloop_depth = 0
 
static int rbtk_internal_eventloop_handler = 0
 
static int int thr_crit_bup = rb_thread_critical
 
 UNREACHABLE
 
int state
 
Tcl_CmdInfo * info
 
 rb_thread_critical = thr_crit_bup
 
static Tcl_TimerToken timer_token = (Tcl_TimerToken)NULL
 
static void ClientData clientData
 
VALUE mode
 
VALUE tick
 
VALUE wait
 
VALUE loop_max
 
VALUE no_event
 
int no_ev = NUM2INT(no_event)
 
VALUE time
 
VALUE divmod
 
Tcl_SetMaxBlockTime & tcl_time
 
static VALUE VALUE val
 
int argc
 
VALUEargv = cmd_str
 
static VALUE VALUE flag_val
 
 flag = FIX2INT(flag_val)
 
static int int check_root = check_root
 
int update_flag = update_flag
 
intcheck_var = check_var
 
int found_event = 1
 
int event_flag
 
int status
 
int depth = rbtk_eventloop_depth
 
 return
 
VALUE VALUE args
 
volatile VALUE current_evloop = rb_thread_current()
 
static VALUE VALUE check_rootwidget
 
int prev_val = -1
 
int chance = 0
 
int check = RTEST(check_rootwidget)
 
struct timeval t0 t1
 
t0 tv_sec = 0
 
t0 tv_usec = (long)((NO_THREAD_INTERRUPT_TIME)*1000.0)
 
 do
 
VALUE VALUE arg = argv[1]
 
*q done = 1
 
static VALUE VALUE th = rb_thread_create(_thread_call_proc, (void*)q)
 
VALUE proc
 
 q = (struct thread_call_proc_arg *)ALLOC(struct thread_call_proc_arg)
 
int is_ip
 
int flags
 
VALUE exc = tcltkip_init_tk(interp)
 
Tcl_DString dstr
 
static VALUE VALUE obj
 
VALUE data
 
 code = tcl_protect_core(interp, proc, data)
 
static VALUE char * name = argv[0]
 
 klass = rb_eval_string_protect(name, &state)
 
static VALUE char * str = argv[1]
 
size_t len = strlen(str)
 
 buf = ALLOC_N(char, len + 2)
 
 receiver = rb_gv_get(buf)
 
volatile ID method
 
int i
 
VALUE old_gc = rb_gc_disable()
 
char * param = RbTk_ALLOC_N(struct th_update_param, 1)
 
char * endptr
 
int objc
 
char * objv []
 
static CONST char * updateOptions [] = {"idletasks", (char *) NULL}
 
return TCL_ERROR
 
return TCL_OK
 
volatile VALUE current_thread = rb_thread_current()
 
struct timeval t
 
param thread = current_thread
 
char * name1
 
char * name2
 
donePtr = 1
 
XEvent * eventPtr
 
Tk_Window window
 
int index = argv[1]
 
static CONST char * optionStrings []
 
char * nameString = objv[2]
 
int dummy
 
size_t length = strlen(objv[1])
 
Tk_Window tkwin = (Tk_Window) clientData
 
VALUE var
 
volatile VALUE cmd_str = rb_str_new2("thread_vwait")
 
VALUE target
 
static void Tcl_Interp * ip
 
Tcl_Interp * slave
 
char * slave_list
 
char * slave_name = objv[1]
 
VALUE rb_debug_bup = ruby_debug
 
VALUE rb_verbose_bup = ruby_verbose
 
 ruby_debug = rb_debug_bup
 
 ruby_verbose = rb_verbose_bup
 
Tk_Window mainWin = Tk_MainWindow(slave)
 
VALUE argv0
 
VALUE opts
 
int cnt = rb_scan_args(argc, argv, "02", &argv0, &opts)
 
int st = ruby_tcl_stubs_init()
 
int with_tk = 1
 
ptr ref_count = 0
 
ptr allow_ruby_exit = 1
 
ptr return_value = 0
 
ptr has_orig_exit = Tcl_GetCommandInfo(ptr->ip, "exit", &(ptr->orig_exit_info))
 
VALUE safemode = argv[1]
 
int safe
 
VALUE callargv [2] = name
 
static VALUE VALUE master
 
return Qfalse
 
VALUE callq = RbTk_ALLOC_N(struct call_queue, 1)
 
static int Tcl_Event * evPtr
 
volatile VALUE q_dat
 
q result = (VALUE)NULL
 
static VALUE VALUE(* func )() = func
 
intalloc_done = RbTk_ALLOC_N(int, 1)
 
int is_tk_evloop_thread = 1
 
volatile VALUE current = rb_thread_current()
 
volatile VALUE ip_obj = obj
 
callq safe_level = rb_safe_level()
 
int cmd_len
 
VALUE evq = RbTk_ALLOC_N(struct eval_queue, 1)
 
char * eval_str
 
Tcl_QueuePosition position = TCL_QUEUE_TAIL
 
VALUE retval
 
VALUE src
 
VALUE encodename
 
int all_bs
 
VALUE enc_name
 
int unknown_flag = 0
 
struct invoke_info inf
 
inf cmdinfo = info
 
char ** av = RbTk_ALLOC_N(char *, (argc+1))
 
 v = ip_invoke_core(interp, argc, av)
 
VALUE ivq = RbTk_ALLOC_N(struct invoke_queue, 1)
 
volatile VALUE varname = argv[0]
 
volatile VALUE strval
 
volatile VALUE value = argv[2]
 
return Qtrue
 
VALUE list_str
 
volatile VALUE ary
 
volatile VALUE elem
 
int idx = rb_enc_find_index(StringValueCStr(name))
 
int taint_flag = OBJ_TAINTED(list_str)
 
int list_enc_idx = rb_enc_get_index(list_str)
 
volatile VALUE list_ivar_enc = rb_ivar_get(list_str, ID_at_enc)
 
intflagPtr
 
char * dst = result
 
VALUE error_mode
 
static int VALUE table
 
int retry = 0
 
Tcl_Obj * enc_list = Tcl_GetObjResult(ptr->ip)
 
volatile VALUE encname = Qnil
 
volatile VALUE encobj = Qnil
 
VALUE enc_arg
 
volatile VALUE tmp = Qnil
 
VALUE enc
 
VALUE menu_path
 

Macro Definition Documentation

#define CONST

Definition at line 143 of file tcltklib.c.

Referenced by tcltklib_compile_info().

#define CONST84

Definition at line 144 of file tcltklib.c.

#define CONST86   CONST84

Definition at line 152 of file tcltklib.c.

#define CONTROL_BY_STATUS_OF_RB_THREAD_WAITING_FOR_VALUE   1

Definition at line 498 of file tcltklib.c.

#define DEFAULT_EVENT_LOOP_MAX   800/*counts*/

Definition at line 522 of file tcltklib.c.

#define DEFAULT_EVENTLOOP_DEPTH   7

Referenced by Init_tcltklib().

#define DEFAULT_NO_EVENT_TICK   10/*counts*/

Definition at line 523 of file tcltklib.c.

#define DEFAULT_NO_EVENT_WAIT   20/*milliseconds ( 1 -- 999 ) */

Definition at line 524 of file tcltklib.c.

#define DEFAULT_TIMER_TICK   0/*milliseconds ( 0 -- 999 ) */

Definition at line 526 of file tcltklib.c.

#define DO_THREAD_SCHEDULE_AT_CALLBACK_DONE   0

Definition at line 500 of file tcltklib.c.

#define DUMP1 (   ARG1)    if (ruby_debug) { fprintf(stderr, "tcltklib: %s\n", ARG1); fflush(stderr); }
#define DUMP2 (   ARG1,
  ARG2 
)
Value:
if (ruby_debug) { fprintf(stderr, "tcltklib: ");\
fprintf(stderr, ARG1, ARG2); fprintf(stderr, "\n"); fflush(stderr); }
ruby_debug
Definition: tcltklib.c:5795

Definition at line 168 of file tcltklib.c.

Referenced by check_eventloop_interp(), for(), if(), tcl_protect_core(), and while().

#define DUMP3 (   ARG1,
  ARG2,
  ARG3 
)
Value:
if (ruby_debug) { fprintf(stderr, "tcltklib: ");\
fprintf(stderr, ARG1, ARG2, ARG3); fprintf(stderr, "\n"); fflush(stderr); }
ruby_debug
Definition: tcltklib.c:5795

Definition at line 170 of file tcltklib.c.

#define EVENT_HANDLER_TIMEOUT   100/*milliseconds*/

Definition at line 530 of file tcltklib.c.

#define EVLOOP_WAKEUP_CHANCE   3

Definition at line 2784 of file tcltklib.c.

#define NO_THREAD_INTERRUPT_TIME   100/*milliseconds ( 1 -- 999 ) */

Definition at line 527 of file tcltklib.c.

Referenced by for().

#define rb_errinfo (   void)    (ruby_errinfo+0) /* cannot be l-value */
#define rb_hash_lookup   rb_hash_aref
#define rb_safe_level (   void)    (ruby_safe_level+0)
#define rb_sourcefile (   void)    (ruby_sourcefile+0)
#define rb_thread_alive_p (   thread)    rb_funcall2((thread), ID_alive_p, 0, NULL)

Definition at line 273 of file tcltklib.c.

Referenced by while().

#define rb_thread_check_trap_pending (   void)    (0+rb_trap_pending)

Definition at line 28 of file tcltklib.c.

Referenced by switch(), and trap_check().

#define RbTk_ALLOC_N (   type,
  n 
)    (type *)ckalloc((int)(sizeof(type) * (n)))

Definition at line 48 of file tcltklib.c.

Referenced by if().

#define RbTk_OBJ_UNTRUST (   x)    do {OBJ_TAINT(x); OBJ_UNTRUST(x);} while (0)

Definition at line 44 of file tcltklib.c.

Referenced by Init_tcltklib().

#define ruby_native_thread_p (   void)    is_ruby_native_thread()
#define RUBY_RELEASE_DATE   "unknown release-date"

Definition at line 19 of file tcltklib.c.

Referenced by tcltklib_compile_info().

#define RUBY_VERSION   "(unknown version)"

Definition at line 16 of file tcltklib.c.

Referenced by Init_dl(), and tcltklib_compile_info().

#define SUPPORT_NESTED_CONST_AS_IP_RUBY_CMD_RECEIVER   1

Definition at line 3483 of file tcltklib.c.

#define TAG_BREAK   0x2

Definition at line 158 of file tcltklib.c.

Referenced by tcl_protect_core().

#define TAG_FATAL   0x8

Definition at line 164 of file tcltklib.c.

Referenced by for(), switch(), and tcl_protect_core().

#define TAG_NEXT   0x3

Definition at line 159 of file tcltklib.c.

Referenced by tcl_protect_core().

#define TAG_RAISE   0x6

Definition at line 162 of file tcltklib.c.

Referenced by for(), switch(), and tcl_protect_core().

#define TAG_REDO   0x5

Definition at line 161 of file tcltklib.c.

Referenced by if(), pending_exception_check0(), and tcl_protect_core().

#define TAG_RETRY   0x4

Definition at line 160 of file tcltklib.c.

Referenced by if(), pending_exception_check0(), and tcl_protect_core().

#define TAG_RETURN   0x1

Definition at line 157 of file tcltklib.c.

Referenced by tcl_protect_core().

#define TAG_THROW   0x7

Definition at line 163 of file tcltklib.c.

Referenced by if(), pending_exception_check0(), and tcl_protect_core().

#define TCL_ALPHA_RELEASE   0 /* "alpha" */

Definition at line 104 of file tcltklib.c.

Referenced by Init_tcltklib(), and switch().

#define TCL_BETA_RELEASE   1 /* "beta" */

Definition at line 105 of file tcltklib.c.

Referenced by Init_tcltklib(), and switch().

#define TCL_CANCEL_UNWIND   0x100000

Definition at line 7816 of file tcltklib.c.

#define Tcl_DecrRefCount (   obj)    (1)

Definition at line 322 of file tcltklib.c.

Referenced by if(), and switch().

#define Tcl_Eval   tcl_eval

Definition at line 296 of file tcltklib.c.

Referenced by switch().

#define TCL_FINAL_RELEASE   2 /* "final" */

Definition at line 106 of file tcltklib.c.

Referenced by Init_tcltklib(), and switch().

#define Tcl_GetStringResult (   interp)    ((interp)->result)

Definition at line 327 of file tcltklib.c.

Referenced by if(), and switch().

#define Tcl_GlobalEval   tcl_global_eval

Definition at line 317 of file tcltklib.c.

Referenced by if(), and Tcl_GetCommandInfo().

#define Tcl_IncrRefCount (   obj)    (1)

Definition at line 321 of file tcltklib.c.

Referenced by if().

#define TCL_NAMESPACE_DEBUG   0

Definition at line 565 of file tcltklib.c.

#define TCLTKLIB_RELEASE_DATE   "2010-08-25"

Definition at line 7 of file tcltklib.c.

Referenced by tcltklib_compile_info().

#define TK_WINDOWING_SYSTEM   "x11"

Referenced by Init_tcltklib().

#define TKWAIT_MODE_DESTROY   2
#define TKWAIT_MODE_VISIBILITY   1
#define TRAP_CHECK ( )
Value:
do { \
} while (0)
return
Definition: bigdecimal.c:5946
if(args--[1]==0)
Definition: array.c:3187
int * check_var
Definition: tcltklib.c:2187
while(a->frac[0]/shift==0)
Definition: bigdecimal.c:5241
static int trap_check(int *check_var)
Definition: tcltklib.c:2141

Definition at line 2136 of file tcltklib.c.

Referenced by for().

#define USE_EVLOOP_THREAD_ALONE_CHECK_FLAG   0

Definition at line 2098 of file tcltklib.c.

#define USE_RUBY_ALLOC   0
#define USE_TOGGLE_WINDOW_MODE_FOR_IDLE   0

Definition at line 499 of file tcltklib.c.

#define va_init_list (   a,
  b 
)    va_start(a)
#define WATCHDOG_INTERVAL   10/*milliseconds ( 1 -- 999 ) */

Definition at line 525 of file tcltklib.c.

Enumeration Type Documentation

anonymous enum
Enumerator
thread_alone_check_flag 

Definition at line 2202 of file tcltklib.c.

enum options
Enumerator
TKWAIT_VARIABLE 
TKWAIT_VISIBILITY 
TKWAIT_WINDOW 
TKWAIT_VARIABLE 
TKWAIT_VISIBILITY 
TKWAIT_WINDOW 

Definition at line 4471 of file tcltklib.c.

enum options
Enumerator
TKWAIT_VARIABLE 
TKWAIT_VISIBILITY 
TKWAIT_WINDOW 
TKWAIT_VARIABLE 
TKWAIT_VISIBILITY 
TKWAIT_WINDOW 

Definition at line 5073 of file tcltklib.c.

enum static CONST char * updateOptions = {"idletasks", (char *) NULL}
Enumerator
REGEXP_IDLETASKS 
REGEXP_IDLETASKS 

Definition at line 3885 of file tcltklib.c.

Enumerator
REGEXP_IDLETASKS 
REGEXP_IDLETASKS 

Definition at line 4037 of file tcltklib.c.

Function Documentation

&& !RTEST ( rb_funcall(thread, ID_stop_p, 0)  )

Definition at line 7031 of file tcltklib.c.

References DUMP1.

static void ip_finalize _ ( (Tcl_Interp *)  )
static
static VALUE encoding_table_get_obj_core _ ( (VALUE, VALUE, VALUE )
static
static VALUE callq_safelevel_handler _ ( (VALUE, VALUE )
static
static VALUE ip_alloc _ ( (VALUE )
static
static VALUE ip_invoke _ ( (int, VALUE *, VALUE )
static
static VALUE ip_invoke_with_position _ ( (int, VALUE *, VALUE, Tcl_QueuePosition)  )
static
static VALUE tk_funcall _ ( (VALUE(), int, VALUE *, VALUE )
static
static int ip_ruby_cmd _ ( (ClientData, Tcl_Interp *, int, char **)  )
static
static void rb_threadUpdateProc _ ( (ClientData)  )
static
static int ip_rb_threadTkWaitCommand _ ( (ClientData, Tcl_Interp *, int, char *[])  )
static
static char *rb_threadVwaitProc _ ( (ClientData, Tcl_Interp *, char *, char *, int )
static
static void rb_threadWaitWindowProc _ ( (ClientData, XEvent *)  )
static
int invoke_queue_handler _ ( (Tcl_Event *, int )
static
void _thread_call_proc_arg_mark ( struct thread_call_proc_arg q)

Definition at line 2907 of file tcltklib.c.

References thread_call_proc_arg::proc, and rb_gc_mark().

void call_queue_mark ( struct call_queue q)
static int check_eventloop_interp ( )
static

Definition at line 2171 of file tcltklib.c.

References DUMP1, DUMP2, and NULL.

Referenced by for().

ckfree ( (char *)  param)

Referenced by if().

ckfree ( eval_str  )
Data_Get_Struct ( self  ,
struct tcltkip  ,
ptr   
)
Data_Get_Struct ( callq  ,
struct call_queue  ,
q   
)
Data_Get_Struct ( evq  ,
struct eval_queue  ,
q   
)
Data_Get_Struct ( ivq  ,
struct invoke_queue  ,
q   
)
DATA_PTR ( self  )
return Data_Wrap_Struct ( CLASS_OF(interp ,
,
ip_free  ,
slave   
)
delete_slaves ( ip  )
DUMP1 ( "Tk_Init"  )
DUMP1 ( "original_exit is called"  )
DUMP1 ( "complete original_exit"  )
DUMP1 ( "call _timer_for_tcl"  )
DUMP1 ( "call ip_ruby_cmd_core"  )
DUMP1 ( "finish ip_ruby_cmd_core"  )
DUMP1 ( "start ip_RubyExitCommand"  )
DUMP1 ( "Ruby's 'update' is called"  )
DUMP1 ( "finish Ruby's 'update'"  )
DUMP1 ( "threadUpdateProc is called"  )
DUMP1 ( "Ruby's 'thread_update' is called"  )
DUMP1 ( "start Ruby's 'thread_update' body"  )
DUMP1 ( "pass argument check )
DUMP1 ( "set idle proc )
DUMP1 ( "finish Ruby's 'thread_update'"  )
DUMP1 ( "Ruby's 'tkwait' is called"  )
DUMP1 ( "Ruby's 'thread_tkwait' is called"  )
DUMP1 ( "delete slaves"  )
DUMP1 ( "start ip_finalize )
DUMP1 ( "destroy root widget"  )
DUMP1 ( "check `finalize-hook-proc'"  )
DUMP1 ( "check `foreach' & `after'"  )
DUMP1 ( "finish ip_finalize )
DUMP1 ( "complete freeing Tcl Interp"  )
DUMP1 ( "Tcl_CreateCommand(\"tkwait\")"  )
DUMP1 ( "Tcl_CreateCommand(\"thread_vwait\")"  )
DUMP1 ( "Tcl_CreateCommand(\"thread_tkwait\")"  )
DUMP1 ( "Tcl_CreateCommand(\"update\")"  )
DUMP1 ( "Tcl_CreateCommand(\"thread_update\")"  )
DUMP1 ( "Tcl_CreateCommand(\"exit\") --> \"interp_exit\""  )
DUMP1 ( "start ip_CallWhenDeleted"  )
DUMP1 ( "finish ip_CallWhenDeleted"  )
DUMP1 ( "Tcl_CreateInterp"  )
DUMP1 ( "Tcl_Init"  )
DUMP1 ( "Tcl_CreateCommand(\"ruby\")"  )
DUMP1 ( "Tcl_CreateCommand(\"ruby_eval\")"  )
DUMP1 ( "Tcl_CreateCommand(\"ruby_cmd\")"  )
DUMP1 ( "Tcl_CreateCommand(\"interp_exit\")"  )
DUMP1 ( "Tcl_CreateCommand(\"ruby_exit\")"  )
DUMP1 ( "Tcl_CreateCommand(\"exit\") --> \"ruby_exit\""  )
DUMP1 ( "delete interp )
DUMP1 ( "add handler"  )
DUMP1 ( "exit tk_funcall )
DUMP1 ( "call invoke_tcl_proc"  )
DUMP1 ( "reset result of tcl-interp )
DUMP1 ( "end of invoke_tcl_proc"  )
DUMP1 ( "end Tcl_GetCommandInfo )
DUMP1 ( "invoke tcl-proc )
DUMP1 ( "exit ip_invoke"  )
DUMP2 ( "eventloop_ensure: current-thread : %lx"  ,
current_evloop   
)
DUMP2 ( "eventloop_ensure: eventloop-thread : %lx"  ,
eventloop_thread   
)
DUMP2 ( "finish current eventloop %lx"  ,
current_evloop   
)
DUMP2 ( "rb_eval_string(%s)"  ,
arg   
)
DUMP2 ( "rb_apply return:%lx"  ,
ret   
)
DUMP2 ( "receiver:%s ,
str   
)
DUMP2 ( "last result '%s'"  ,
Tcl_GetStringResult(interp  
)
DUMP2 ( "free Tcl Interp %lx"  ,
(unsigned long) ptr->  ip 
)
DUMP2 ( )
DUMP2 ( "call_queue_handler thread : %lx"  ,
rb_thread_current()   
)
DUMP2 ( "added by thread : %lx"  ,
thread   
)
DUMP2 ( "call function (current thread:%lx)"  ,
rb_thread_current()   
)
DUMP2 ( " (current thread:%lx)"  ,
rb_thread_current()   
)
DUMP2 ( "tk_funcall from thread %lx (NOT current eventloop)"  ,
current   
)
DUMP2 ( "callq wait for handler (current thread:%lx)"  ,
current   
)
DUMP2 ( "*** callq wakeup (current thread:%lx)"  ,
current   
)
DUMP2 ( "*** (eventloop thread:%lx)"  ,
eventloop_thread   
)
DUMP2 ( "back from handler (current thread:%lx)"  ,
current   
)
DUMP2 ( "Tcl_Eval(%s)"  ,
cmd_str   
)
DUMP2 ( "(TCL_Eval result) %d ,
ptr->  return_value 
)
DUMP2 ( "eval_queue_thread : %lx"  ,
rb_thread_current()   
)
DUMP2 ( "status: Tcl_GetCurrentThread %p ,
Tcl_GetCurrentThread()   
)
DUMP2 ( "status: eventloopt_thread %lx"  ,
eventloop_thread   
)
DUMP2 ( "eval from thread %lx (NOT current eventloop)"  ,
current   
)
DUMP2 ( "evq wait for handler (current thread:%lx)"  ,
current   
)
DUMP2 ( "*** evq wakeup (current thread:%lx)"  ,
current   
)
DUMP2 ( "call  Tcl_GetCommandInfo,
%s ,
cmd   
)
DUMP2 ( "status of tcl-  proc,
%d ,
status   
)
DUMP2 ( "invoke_real called by thread:%lx"  ,
rb_thread_current()   
)
DUMP2 ( "invoke queue_thread : %lx"  ,
rb_thread_current()   
)
DUMP2 ( "call invoke_real (current thread:%lx)"  ,
rb_thread_current()   
)
DUMP2 ( "invoke from thread %lx (NOT current eventloop)"  ,
current   
)
DUMP2 ( "ivq wait for handler (current thread:%lx)"  ,
current   
)
DUMP2 ( "*** ivq wakeup (current thread:%lx)"  ,
current   
)
DUMP3 ( "tcltklib: eventloop-thread : %lx -> %lx\n ,
parent_evloop  ,
eventloop_thread   
)
void eval_queue_mark ( struct eval_queue q)

Definition at line 453 of file tcltklib.c.

References eval_queue::interp, rb_gc_mark(), eval_queue::result, and eval_queue::thread.

for ( ;;  )
for ( )

Definition at line 3660 of file tcltklib.c.

References DUMP2, i, RARRAY, rb_ary_push(), rb_tainted_str_new(), rb_tainted_str_new2, and s.

free ( buf  )
free_invoke_arguments ( argc  ,
av   
)
if ( ptr  = = 0)
Initial value:
{
struct tcltkip *ptr = get_ip(self)
return ptr
Definition: tcltklib.c:789

Definition at line 781 of file tcltklib.c.

References NULL.

if ( ptr->  ip = = (Tcl_Interp*)NULL)
Initial value:
{
ptr->ref_count++
return ptr
Definition: tcltklib.c:789

Definition at line 785 of file tcltklib.c.

References NULL.

if ( )

Definition at line 827 of file tcltklib.c.

Definition at line 1365 of file tcltklib.c.

References tcltkip::ip, rb_eRuntimeError, and rb_exc_new2.

if ( NIL_Pexc)&&rb_obj_is_kind_of(exc, rb_eException)
if ( ptr->has_orig_exit)

Definition at line 1476 of file tcltklib.c.

if ( timer_tick  ,
 
)

Definition at line 1632 of file tcltklib.c.

References timer_token.

if ( deleted_ip(ptr )
Initial value:
{
struct tcltkip *ptr = get_ip(self)
return ptr
Definition: tcltklib.c:789

Definition at line 1740 of file tcltklib.c.

if ( Tcl_GetMaster(ptr->ip)!  = (Tcl_Interp*)NULL)

Definition at line 1744 of file tcltklib.c.

if ( t_wait<=  0)

Definition at line 1766 of file tcltklib.c.

References rb_eArgError, and rb_raise().

if ( lpmax<=0||no_ev<=  0)

Definition at line 1819 of file tcltklib.c.

References rb_eArgError, and rb_raise().

if ( Tcl_DoOneEvent(flag )

Definition at line 2047 of file tcltklib.c.

References Qtrue.

if ( update_flag  )

Definition at line 2205 of file tcltklib.c.

if ( lib_eventloop_core(params->check_root,params->update_flag,params->check_var,params->interp )

Definition at line 2569 of file tcltklib.c.

References Qtrue.

if ( eventloop_thread!  = current_evloop)

Definition at line 2625 of file tcltklib.c.

References DUMP2, Qnil, rb_thread_critical, evloop_params::thr_crit_bup, and xfree.

if ( parent_evloop  = eventloop_thread)

Definition at line 2694 of file tcltklib.c.

References DUMP2, and rbtk_eventloop_depth.

if ( !NIL_P(parent_evloop)&&parent_evloop!  = eventloop_thread)

Definition at line 2699 of file tcltklib.c.

References DUMP1, DUMP2, rb_funcall(), rb_thread_run(), and RTEST.

if ( rb_scan_args(argc, argv,"01",&check_rootwidget = = 0)

Definition at line 2738 of file tcltklib.c.

References Qtrue.

Definition at line 2740 of file tcltklib.c.

if ( NIL_Pwatchdog_thread)

Definition at line 2802 of file tcltklib.c.

References Qnil, rb_funcall(), and RTEST.

if ( rb_scan_args(argc, argv,"01",&proc = = 0)

Definition at line 2960 of file tcltklib.c.

References rb_block_proc().

Definition at line 2980 of file tcltklib.c.

References Qnil, and rb_funcall().

Definition at line 2992 of file tcltklib.c.

References rb_errinfo, and rb_exc_raise().

if ( NIL_Peventloop_thread)

Definition at line 3020 of file tcltklib.c.

References rb_eRuntimeError, and rb_raise().

if ( rb_scan_args(argc, argv,"01",&vflags)  = = 0)

Definition at line 3026 of file tcltklib.c.

if ( rb_safe_level() >=4||(rb_safe_level() >=1 &&OBJ_TAINTED(vflags))  )

Definition at line 3033 of file tcltklib.c.

if ( is_ip  )

Definition at line 3037 of file tcltklib.c.

References tcltkip::ip, NULL, and Qfalse.

Definition at line 3055 of file tcltklib.c.

References Qfalse.

if ( found_event  )

Definition at line 3059 of file tcltklib.c.

References Qtrue.

if ( ruby_native_thread_p())
Initial value:
{
struct tcltkip *ptr = get_ip(interp)
static int Tcl_Interp * interp
Definition: tcltklib.c:282
return ptr
Definition: tcltklib.c:789

Definition at line 3366 of file tcltklib.c.

References rb_bug().

if ( interp  = = (Tcl_Interp*)NULL)

Definition at line 3405 of file tcltklib.c.

References rb_eRuntimeError, rb_exc_new2, rbtk_pending_exception, and TCL_ERROR.

if ( argc!  = 2)
if ( state  )

Definition at line 3497 of file tcltklib.c.

References Qnil.

else if ( str  [0] = = ':' || ('A' <= str[0] && str[0] <= 'Z'))

Definition at line 3546 of file tcltklib.c.

References Qnil, and rb_protect().

if ( NIL_P(receiver )
if ( old_gc  = Qfalse)

Definition at line 3677 of file tcltklib.c.

if ( argc< 1||argc 2)

Definition at line 3785 of file tcltklib.c.

References NULL, Tcl_AppendResult(), and TCL_ERROR.

else if ( objc  = = 1)

Definition at line 3903 of file tcltklib.c.

if ( NIL_Prbtk_pending_exception)

Definition at line 3970 of file tcltklib.c.

References Tcl_Release().

if ( eventPtr->  type = = DestroyNotify)
Initial value:
{
pure parser lex param
Definition: ripper.y:696
static void ClientData clientData
Definition: tcltklib.c:1616

Definition at line 4445 of file tcltklib.c.

if ( objc!  = 3)
if ( (c== 'v')&&(strncmp(objv[1],"variable", length)==0)&&(length >=2)  )

Definition at line 4551 of file tcltklib.c.

References TKWAIT_VARIABLE.

else if ( (c== 'v')&&(strncmp(objv[1],"visibility", length)==0)&&(length >=2)  )

Definition at line 4554 of file tcltklib.c.

else if ( (c== 'w')&&(strncmp(objv[1],"window", length)==0)  )

Definition at line 4557 of file tcltklib.c.

if ( flags TCL_INTERP_DESTROYED|TCL_TRACE_DESTROYED)

Definition at line 4850 of file tcltklib.c.

References th_vwait_param::done.

if ( param->done!  = 0)

Definition at line 4855 of file tcltklib.c.

if ( rb_thread_alone()||  eventloop_thread = current_thread)

Definition at line 5087 of file tcltklib.c.

References DUMP1, and DUMP2.

if ( Tcl_InterpDeletedip)&&Tcl_Eval(ip,"interp slaves" = TCL_OK)

Definition at line 5593 of file tcltklib.c.

References argc, DUMP2, i, ip_finalize(), and TCL_OK.

if ( ip  = = (Tcl_Interp*)NULL)

Definition at line 5677 of file tcltklib.c.

References DUMP1.

if ( Tcl_InterpDeleted(ip )

Definition at line 5682 of file tcltklib.c.

References DUMP2.

if ( at_exit  )

Definition at line 5706 of file tcltklib.c.

References Tcl_CreateCommand().

if ( tk_stubs_init_p()&&Tk_MainWindow(ip)!  = (Tk_Window)NULL)

Definition at line 5744 of file tcltklib.c.

References DUMP1, Qfalse, Qnil, rb_debug_bup, rb_verbose_bup, ruby_debug, and ruby_verbose.

Definition at line 5772 of file tcltklib.c.

References DUMP2, Qfalse, Qnil, rb_debug_bup, rb_verbose_bup, ruby_debug, ruby_verbose, and Tcl_GlobalEval.

if ( slave  = NULL)

Definition at line 5977 of file tcltklib.c.

References Tcl_AppendResult(), and TCL_ERROR.

if ( rb_safe_level() >=  4)

Definition at line 6169 of file tcltklib.c.

References rb_eSecurityError, rb_raise(), and rb_safe_level.

if ( Tcl_Init(ptr->ip = TCL_ERROR)

Definition at line 6292 of file tcltklib.c.

References tcltkip::ip, rb_eRuntimeError, rb_raise(), and Tcl_GetStringResult.

if ( with_tk  )
if ( mainWin!  = (Tk_Window)NULL)

Definition at line 6400 of file tcltklib.c.

if ( deleted_ip(master )

Definition at line 6423 of file tcltklib.c.

References rb_eRuntimeError, and rb_exc_new2.

if ( Tcl_IsSafe(master->ip = = 1)

Definition at line 6431 of file tcltklib.c.

else if ( safemode  = Qfalse || NIL_P(safemode))

Definition at line 6433 of file tcltklib.c.

if ( slave->  ip = NULL)

Definition at line 6466 of file tcltklib.c.

References rb_eRuntimeError, rb_exc_new2, rb_thread_critical, and thr_crit_bup.

if ( rb_scan_args(argc, argv,"11",&name,&safemode = = 1)

Definition at line 6536 of file tcltklib.c.

References Qfalse.

if ( Tcl_IsSafe(master->ip)!  = 1 && (safemode == Qfalse || NIL_P(safemode)))

Definition at line 6539 of file tcltklib.c.

if ( Tcl_GetVar(ptr->ip,"tcl_interactive", TCL_GLOBAL_ONLY)  = = (char*)NULL)

Definition at line 6598 of file tcltklib.c.

References tcltkip::ip.

if ( Tcl_MakeSafe(ptr->ip = TCL_ERROR)

Definition at line 6663 of file tcltklib.c.

References tcltkip::ip, rb_eRuntimeError, and Tcl_GetStringResult.

if ( Tcl_IsSafe(ptr->ip )

Definition at line 6713 of file tcltklib.c.

References Qtrue.

if ( RTEST(val )

Definition at line 6766 of file tcltklib.c.

References tcltkip::allow_ruby_exit, DUMP1, tcltkip::ip, Qtrue, and Tcl_CreateCommand().

if ( Tcl_InterpDeletedptr->ip)

Definition at line 6812 of file tcltklib.c.

References DUMP1, tcltkip::ip, ip_finalize(), and Tcl_Release().

if ( deleted_ip(ptr)||!tk_stubs_init_p()  )

Definition at line 6870 of file tcltklib.c.

References Qnil.

else if ( Tk_MainWindow(ptr->ip = = (Tk_Window)NULL)

Definition at line 6872 of file tcltklib.c.

if ( rb_safe_level()!  = q->safe_level)
if ( NIL_Pip_obj)&&rb_obj_is_kind_of(ip_obj, tcltkip_class)

Definition at line 7120 of file tcltklib.c.

References Qnil.

if ( is_tk_evloop_thread &&  NIL_P(eventloop_thread)||current==eventloop_thread)

Definition at line 7141 of file tcltklib.c.

References DUMP2, func, NIL_P(), rb_eException, rb_exc_raise(), rb_obj_is_kind_of(), and result.

if ( argv  )

Definition at line 7162 of file tcltklib.c.

References MEMCPY, RbTk_ALLOC_N, and Tcl_Preserve().

Definition at line 7239 of file tcltklib.c.

References DUMP1.

Definition at line 7284 of file tcltklib.c.

References DUMP1, rb_exc_new3, rb_exc_raise(), rb_funcall(), and rb_obj_class().

if ( pending_exception_check1(thr_crit_bup, ptr )

Definition at line 7446 of file tcltklib.c.

References rbtk_pending_exception, and rbtk_release_ip().

if ( ptr->return_value!  = TCL_OK)

Definition at line 7452 of file tcltklib.c.

References exc, tcltkip::ip, rb_eRuntimeError, rbtk_release_ip(), and tcltkip::return_value.

if ( rb_scan_args(argc, argv,"01",&retval = = 0)

Definition at line 7805 of file tcltklib.c.

References Qnil.

if ( ip_cancel_eval_core(get_ip(self) ->ip, retval, 0)  = TCL_OK)

Definition at line 7808 of file tcltklib.c.

References Qtrue.

if ( ip_cancel_eval_core(get_ip(self) ->ip, retval, flag = TCL_OK)

Definition at line 7832 of file tcltklib.c.

References Qtrue.

if ( NIL_Pexc)

Definition at line 7886 of file tcltklib.c.

References exc, rb_thread_critical, rbtk_release_ip(), and thr_crit_bup.

if ( NIL_P(src )

Definition at line 7962 of file tcltklib.c.

References rb_str_new2.

if ( rb_scan_args(argc, argv,"11",&str,&encodename = = 1)
Initial value:
{
VALUE encodename
Definition: tcltklib.c:7944
static VALUE char * str
Definition: tcltklib.c:3539
unsigned long VALUE
Definition: ripper.y:88

Definition at line 8108 of file tcltklib.c.

References Qnil.

if ( Tcl_GetCommandInfoptr->ip, cmd,&info)
if ( unknown_flag  )

Definition at line 8785 of file tcltklib.c.

References ckfree(), free, Tcl_DecrRefCount, and Tcl_Release().

if ( ret  = = (char*)NULL)
if ( NIL_Pindex)
if ( NIL_P(retval )

Definition at line 9426 of file tcltklib.c.

References rb_tainted_str_new2.

if ( NIL_P(ip_obj )

Definition at line 9735 of file tcltklib.c.

else if ( get_ip(ip_obj = = (struct tcltkip *)NULL)

Definition at line 9737 of file tcltklib.c.

if ( Tcl_SplitList(interp, RSTRING_PTR(list_str),&argc,&argv = TCL_ERROR)

Definition at line 9818 of file tcltklib.c.

References rb_eRuntimeError, and rb_raise().

if ( taint_flag  )

Definition at line 9828 of file tcltklib.c.

if ( num <  argc = = 0)

Definition at line 9882 of file tcltklib.c.

if ( dst  = result)

Definition at line 9929 of file tcltklib.c.

if ( NIL_P(interp )

Definition at line 10166 of file tcltklib.c.

if ( NIL_Pinterp)

Definition at line 10222 of file tcltklib.c.

if ( ptr &&  NIL_Penc)

Definition at line 10231 of file tcltklib.c.

References rb_funcall(), and rb_respond_to().

if ( NIL_P(enc )

Definition at line 10237 of file tcltklib.c.

References rb_enc_default_internal().

Definition at line 10253 of file tcltklib.c.

References name, NIL_P(), and rb_hash_lookup.

if ( NIL_Prb_hash_lookup(table, name))

Definition at line 10278 of file tcltklib.c.

References name.

if ( idx >=  0)

Definition at line 10285 of file tcltklib.c.

References NIL_P(), rb_enc_from_encoding(), rb_enc_from_index(), rb_hash_lookup, and tmp.

if ( RTEST(error_mode )

Definition at line 10309 of file tcltklib.c.

References rb_eArgError, rb_funcall(), rb_raise(), and RSTRING_PTR.

Definition at line 10325 of file tcltklib.c.

References obj.

if ( Tcl_ListObjGetElements(ptr->ip, enc_list,&objc,&objv)!  = TCL_OK)

Definition at line 10491 of file tcltklib.c.

References rb_eRuntimeError, rb_raise(), and Tcl_DecrRefCount.

if ( NIL_P(table )

Definition at line 10623 of file tcltklib.c.

References rb_define_singleton_method().

void Init_tcltklib ( )
void invoke_queue_mark ( struct invoke_queue q)
return ip_eval_real ( q->  interp,
q->  str,
q->  len 
)

Referenced by if().

ip_finalize ( ip  )

Referenced by if().

return ip_get_result_string_obj ( ptr->  ip)
return ip_invoke_core ( q->  interp,
q->  argc,
q->  argv 
)
return ip_invoke_with_position ( ,
argv  ,
self  ,
TCL_QUEUE_TAIL   
)
return ip_invoke_with_position ( ,
argv  ,
self  ,
TCL_QUEUE_TAIL   
)
ip_replace_wait_commands ( slave  ,
mainWin   
)
ip_replace_wait_commands ( ptr->  ip,
mainWin   
)
ip_replace_wait_commands ( slave->  ip,
mainWin   
)
ip_wrap_namespace_command ( ptr->  ip)
ip_wrap_namespace_command ( slave->  ip)
return lib_eventloop_launcher ( RTEST(check_rootwidget ,
,
(int *)  NULL,
(Tcl_Interp *)  NULL 
)

Referenced by switch().

lib_eventloop_launcher ( ,
,
q->  done,
(Tcl_Interp *)  NULL 
)
lib_eventloop_launcher ( ,
flags  ,
(int *)  NULL,
interp   
)
return lib_evloop_abort_on_exc_set ( self  ,
val   
)

Referenced by Init_tcltklib().

return lib_fromUTF8_core ( Qnil  ,
str  ,
encodename   
)
return lib_fromUTF8_core ( self  ,
str  ,
encodename   
)
return lib_mainloop_watchdog ( argc  ,
argv  ,
self   
)

Referenced by Init_tcltklib().

return lib_restart ( self  )
return lib_toUTF8_core ( Qnil  ,
str  ,
encodename   
)
return lib_toUTF8_core ( self  ,
str  ,
encodename   
)
int matherr ( )
memcpy ( buf 1,
str  ,
len   
)

Referenced by addrinfo_mload(), allocate_converted_string(), append_fspath(), copy_home_path(), date_strftime_with_tmx(), dlhandle_sym(), dln_find_1(), EVP_CIPHER_CTX_copy(), fiddle_handle_sym(), flo_to_s(), gc_setup_mark_bits(), get_addr(), getaddrinfo(), getifaddrs(), getrusage_time(), glob_helper(), glob_make_pattern(), global_id(), gzfile_readpartial(), HMAC_CTX_copy(), if(), inet_ntop(), inet_pton(), init_addrinfo(), inspect_errno(), inspect_int(), inspect_timeval_as_interval(), int_sip_post_update(), int_sip_pre_update(), io_reader(), ip_s_getaddress(), join_argv(), join_path(), load_transcoder_entry(), makroom(), md5_process(), MD5_Update(), moreswitches(), nl_langinfo_codeset(), numeric_getaddrinfo(), ole_val2olevariantdata(), opendir_internal(), ossl_asn1cons_to_der(), ossl_asn1data_to_der(), ossl_buf2str(), ossl_cipher_init(), ossl_pem_passwd_cb(), ossl_x509ext_set_value(), pack_unpack(), parse_ddd_cb(), parse_mode_enc(), PEM_def_callback(), pruby_var_to_cstr(), putpair(), r_byte1_buffered(), r_bytes1_buffered(), rb_digest_base_copy(), rb_dlptr_aset(), rb_econv_convert0(), rb_econv_insert_output(), rb_econv_putback(), rb_fiddle_ptr_aset(), rb_file_expand_path_internal(), rb_reg_quote(), rb_reg_to_s(), rb_str_append(), rb_str_cat(), rb_str_concat(), rb_str_format(), rb_str_justify(), rb_str_plus(), rb_str_reverse(), rb_str_shared_replace(), rb_str_sub_bang(), rb_str_times(), rb_strftime_with_timespec(), rb_w32_cmdvector(), rb_w32_conv_from_wstr(), rb_w32_fd_copy(), rb_w32_fd_dup(), rb_w32_inet_ntop(), rb_w32_pipe(), rb_w32_system_tmpdir(), read_digits(), RMD160_Finish(), RMD160_Update(), ruby_brace_expand(), ruby_strdup(), s3e(), SHA1_Transform(), SHA1_Update(), sock_s_getnameinfo(), sockopt_bool(), sockopt_int(), sockopt_linger(), splpage(), str_buf_cat(), str_make_independent_expand(), str_new0(), str_replace_shared_without_enc(), strio_ungetbyte(), stub_sysinit(), sym_inspect(), VpAsgn(), w32_spawn(), w_float(), yaml_document_add_scalar(), yaml_parser_parse_node(), yaml_parser_scan_tag_uri(), yaml_scalar_event_initialize(), yaml_string_join(), yaml_string_read_handler(), yaml_string_write_handler(), and zstream_append_buffer().

memcpy ( eval_str  ,
RSTRING_PTR(str ,
RSTRING_LEN(str  
)
NIL_P ( eventloop_thread  )

Definition at line 4056 of file tcltklib.c.

References DUMP1.

Referenced by add_activated_refinement(), add_event_call_back(), addrinfo_getnameinfo(), addrinfo_initialize(), addrinfo_inspect(), addrinfo_mload(), alias(), append_fspath(), append_method(), appendline(), argf_getbyte(), argf_getc(), argf_getline(), argf_getpartial(), argf_next_argv(), argf_read(), argf_readbyte(), argf_readchar(), argf_readline(), ary_join_0(), ary_join_1(), big_op(), BigDecimal_div2(), BigDecimal_limit(), BigDecimal_mode(), BigDecimal_new(), BigDecimal_power(), BigDecimal_remainder(), call_getaddrinfo(), check_exec_env_i(), check_exec_options_i_extract(), check_exec_redirect(), check_exec_redirect1(), check_exec_redirect_fd(), check_setter_id(), classname(), cmp_eq(), collect_caller_bindings(), compile_dstr_fragments(), constant_arg(), convert_type(), copy_stream_fallback_body(), cParser_initialize(), cState_configure(), cState_from_state_s(), cState_initialize(), cto_i(), curry(), d_new_by_frags(), date__parse(), date__strptime(), date__strptime_internal(), date_s__parse_internal(), date_s__strptime_internal(), date_s_valid_civil_p(), date_s_valid_commercial_p(), date_s_valid_jd_p(), date_s_valid_ordinal_p(), date_zone_to_diff(), dir_each(), dir_initialize(), dir_inspect(), dir_path(), dir_s_glob(), dir_s_home(), divmodv(), do_deflate(), do_inflate(), do_writeconv(), dt_new_by_frags(), dump_output(), econv_args(), econv_description(), econv_init(), econv_last_error(), econv_opts(), econv_primitive_convert(), econv_putback(), econv_s_search_convpath(), enc_register_at(), enc_set_default_encoding(), enum_cycle(), enum_find(), enum_zip(), enumerator_initialize(), enumerator_with_index(), env_aset(), env_delete_m(), env_has_value(), env_rassoc(), env_reject_bang(), env_select(), env_select_bang(), errat_getter(), errat_setter(), error_print(), esignal_init(), ev_on_event(), eval_string_with_cref(), eval_under(), EVENTSINK_Invoke(), exc_backtrace_locations(), exc_setup_cause(), exc_to_s(), exit_initialize(), exit_success_p(), extract_binmode(), extract_user_token(), f_current_dirname(), fdbm_fetch_m(), fdbm_initialize(), fdbm_s_open(), features_index_add_single(), fev_off_event(), fgdbm_fetch(), fgdbm_fetch_m(), fgdbm_has_value(), fgdbm_initialize(), fgdbm_key(), fgdbm_s_open(), fgdbm_shift(), fiber_switch(), fill_cbuf(), find_refinement(), flatten(), fole_initialize(), for(), fptr_finalize(), fsdbm_fetch_m(), fsdbm_initialize(), fsdbm_s_open(), function_call(), gc_start_internal(), get_backtrace(), get_digest_base_metadata(), get_freefunc(), get_hash(), get_pat(), glob_helper(), goruby_run_node(), gzfile_error_inspect(), gzfile_getc(), gzfile_make_header(), gzfile_raise(), gzfile_read(), gzfile_read_all(), gzfile_read_more(), gzfile_read_raw_ensure(), gzfile_read_raw_rescue(), gzfile_read_raw_until_zero(), gzfile_reader_get_unused(), gzfile_reader_rewind(), gzfile_readpartial(), gzreader_gets(), host_str(), if(), init_inetsock_internal(), initialize(), initialize_params(), inspect_enumerator(), int_downto(), int_upto(), io_encoding_set(), io_fillbuf(), io_puts_ary(), io_read(), io_read_nonblock(), io_reader(), io_readpartial(), io_s_foreach(), io_s_write(), io_setstrbuf(), io_shift_cbuf(), io_strip_bom(), io_wait_readable(), io_wait_writable(), io_write(), iseq_build_from_ary_body(), iseq_load(), iseq_s_compile(), iseq_s_disasm(), iso8601_bas_datetime_cb(), iso8601_ext_datetime_cb(), iso8601_ext_time_cb(), jisx0301_cb(), JSON_parse_array(), JSON_parse_object(), JSON_parse_string(), lazy_drop_size(), lazy_flat_map_to_ary(), lazy_set_method(), lazy_take_size(), lazy_zip(), lep_svar_get(), lep_svar_place(), lep_svar_set(), lex_getline(), literal_concat0(), literal_concat_gen(), load_encoding(), load_file_internal(), make_clock_result(), make_errno_exc_str(), make_exception(), make_inspectname(), marshal_dump(), marshal_load(), match(), match_aref(), match_getter(), match_setter(), match_to_s(), month_arg(), mSyslog_open(), name_err_mesg_to_str(), nucomp_s_convert(), num_exact(), num_step_scan_args(), num_to_asn1integer(), nurat_s_convert(), obj_to_asn1bool(), obj_to_asn1null(), object_allocations_reporter_i(), oldbt_bugreport(), oldbt_print(), oldbt_print_to(), ole_search_event(), ole_search_event_at(), open_key_args(), ossl_asn1_get_asn1type(), ossl_asn1_initialize(), ossl_asn1_is_explicit(), ossl_asn1_tag(), ossl_asn1_tag_class(), ossl_bn_is_prime_fasttest(), ossl_bn_s_generate_prime(), ossl_buf2str(), ossl_call_client_cert_cb(), ossl_call_session_get_cb(), ossl_call_session_new_cb(), ossl_call_session_remove_cb(), ossl_call_tmp_dh_callback(), ossl_cipher_init(), ossl_cipher_pkcs5_keyivgen(), ossl_cipher_update(), ossl_dh_initialize(), ossl_digest_finish(), ossl_digest_initialize(), ossl_dsa_export(), ossl_dsa_initialize(), ossl_make_error(), ossl_pkcs12_initialize(), ossl_pkcs12_s_create(), ossl_pkcs7_decrypt(), ossl_pkcs7_s_encrypt(), ossl_pkcs7_s_sign(), ossl_pkcs7_s_write_smime(), ossl_pkcs7_verify(), ossl_pkey_new_from_data(), ossl_rsa_export(), ossl_rsa_initialize(), ossl_rsa_s_generate(), ossl_ssl_read_internal(), ossl_ssl_setup(), ossl_ssl_write_nonblock(), ossl_sslctx_flush_sessions(), ossl_sslctx_set_ciphers(), ossl_sslctx_setup(), ossl_start_ssl(), ossl_verify_cb(), ossl_x509extfactory_create_ext(), ossl_x509extfactory_initialize(), ossl_x509name_add_entry(), ossl_x509name_to_s(), ossl_x509stctx_initialize(), pack_pack(), parse_ddd_cb(), parse_eu_cb(), parse_frag_cb(), parse_iso21_cb(), parse_iso23_cb(), parse_iso24_cb(), parse_iso25(), parse_iso26(), parse_main(), parse_time2_cb(), parse_time_cb(), parse_us_cb(), parser_here_document(), parser_nextc(), pending_exception_check0(), pipe_open(), port_str(), power_cache_get_power(), prepare_getline_args(), prepare_iseq_build(), proc_curry(), proc_wait(), proc_wait2(), pst_inspect(), r_byte(), r_byte1_buffered(), r_bytes1(), r_bytes1_buffered(), r_le(), r_lt(), r_object0(), rand_random(), rand_range(), range_each(), range_include(), range_init(), range_step(), range_values(), rawmode_opt(), rb_alias(), rb_Array(), rb_ary_assoc(), rb_ary_cmp(), rb_ary_compact_bang(), rb_ary_cycle(), rb_ary_fill(), rb_ary_flatten(), rb_ary_flatten_bang(), rb_ary_initialize(), rb_ary_join(), rb_ary_join_m(), rb_ary_permutation(), rb_ary_product(), rb_ary_times(), rb_ary_to_ary(), rb_ary_to_h(), rb_attr(), rb_builtin_class_name(), rb_check_argv(), rb_check_backtrace(), rb_check_convert_type(), rb_check_id(), rb_class2name(), rb_class_path(), rb_class_path_no_cache(), rb_cmpint(), rb_compile_warn(), rb_const_set(), rb_convert_to_integer(), rb_deflate_init_copy(), rb_digest_instance_equal(), rb_dlcfunc_initialize(), rb_dlhandle_initialize(), rb_econv_append(), rb_econv_check_error(), rb_econv_init_by_convpath(), rb_econv_open_opts(), rb_econv_prepare_options(), rb_enc_aliases_enc_i(), rb_enc_from_encoding_index(), rb_enc_get_index(), rb_enc_set_default_external(), rb_env_clear(), rb_exc_fatal(), rb_exc_raise(), rb_exec_async_signal_safe(), rb_exec_end_proc(), rb_exec_fillarg(), rb_exec_getargs(), rb_execarg_addopt(), rb_execarg_fixup(), rb_execarg_run_options(), rb_execarg_setenv(), rb_f_abort(), rb_f_autoload(), rb_f_autoload_p(), rb_f_backquote(), rb_f_eval(), rb_f_kill(), rb_f_open(), rb_f_raise(), rb_f_rand(), rb_f_require_relative(), rb_f_select(), rb_f_trace_var(), rb_f_untrace_var(), rb_feature_p(), rb_fiber_start(), rb_fiddle_handle_initialize(), rb_file_chmod(), rb_file_chown(), rb_file_expand_path_internal(), rb_file_initialize(), rb_file_join(), rb_file_lstat(), rb_file_path(), rb_file_s_basename(), rb_file_s_chown(), rb_file_s_utime(), rb_funcall_with_block(), rb_get_kwargs(), rb_gets(), rb_gzfile_closed_p(), rb_gzfile_comment(), rb_gzfile_ecopts(), rb_gzfile_orig_name(), rb_gzreader_each(), rb_gzreader_each_byte(), rb_gzreader_each_char(), rb_gzreader_getbyte(), rb_gzreader_gets(), rb_gzreader_read(), rb_gzreader_readbyte(), rb_gzreader_readchar(), rb_gzreader_readline(), rb_gzreader_readlines(), rb_gzreader_readpartial(), rb_gzwriter_initialize(), rb_Hash(), rb_hash_fetch_m(), rb_hash_reject(), rb_hash_s_create(), rb_hash_set_default_proc(), rb_inflate_addstr(), rb_inflate_inflate(), rb_invcmp(), rb_io_advise(), rb_io_each_char(), rb_io_each_line(), rb_io_extract_encoding_option(), rb_io_extract_modeenc(), rb_io_getline_1(), rb_io_getline_fast(), rb_io_init_copy(), rb_io_initialize(), rb_io_inspect(), rb_io_open(), rb_io_print(), rb_io_readbyte(), rb_io_readchar(), rb_io_readline(), rb_io_readlines(), rb_io_reopen(), rb_io_s_binread(), rb_io_s_copy_stream(), rb_io_s_foreach(), rb_io_s_pipe(), rb_io_s_popen(), rb_io_s_read(), rb_io_s_readlines(), rb_io_s_sysopen(), rb_io_ungetbyte(), rb_io_ungetc(), rb_io_write_nonblock(), rb_load_internal0(), rb_locale_encindex(), rb_marshal_dump(), rb_method_call_with_block(), rb_method_entry_make(), rb_mod_cmp(), rb_mod_name(), rb_mod_nesting(), rb_mod_refine(), rb_mod_s_constants(), rb_mod_to_s(), rb_mutex_sleep(), rb_num2long(), rb_num2ulong_internal(), rb_num_coerce_relop(), rb_obj_respond_to(), rb_obj_singleton_method(), rb_proc_call_with_block(), rb_profile_frame_classpath(), rb_profile_frame_full_label(), rb_profile_frame_singleton_method_p(), rb_realpath_internal(), rb_reg_eqq(), rb_reg_initialize_m(), rb_reg_match_last(), rb_reg_match_m(), rb_reg_match_post(), rb_reg_match_pre(), rb_reg_nth_defined(), rb_reg_nth_match(), rb_reg_s_last_match(), rb_reg_s_union(), rb_reg_s_union_m(), rb_reg_search(), rb_require_safe(), rb_resolve_refined_method(), rb_scan_args(), rb_scan_open_args(), rb_set_errinfo(), rb_stat(), rb_str_aref(), rb_str_chomp_bang(), rb_str_enumerate_lines(), rb_str_format(), rb_str_format_m(), rb_str_index_m(), rb_str_justify(), rb_str_match_m(), rb_str_partition(), rb_str_rindex_m(), rb_str_rpartition(), rb_str_scan(), rb_str_scrub(), rb_str_setter(), rb_str_slice_bang(), rb_str_split_m(), rb_str_strip_bang(), rb_str_sub_bang(), rb_str_upto(), rb_strftime_alloc(), rb_String(), rb_struct_s_def(), rb_struct_s_members(), rb_szqueue_max_set(), rb_thread_status(), rb_time_num_new(), rb_tmp_class_path(), rb_to_encoding_index(), rb_to_float(), rb_to_id(), rb_undef(), rb_using_refinement(), rb_vm_jump_tag_but_local_jump(), rb_w32_conv_from_wstr(), rb_warn(), rb_warn_m(), rb_yield_block(), rb_yield_splat(), rb_zstream_avail_in(), reachable_object_from_root_i(), read_all(), read_num(), readline_attempted_completion_function(), readline_s_set_completion_proc(), readline_s_set_input(), readline_s_set_output(), realpath_rec(), recursive_check(), recursive_list_access(), reduce0(), reg_compile_gen(), reg_match_pos(), return_fiber(), rfc2822_cb(), rfc3339_cb(), rsock_bsock_send(), rsock_syserr_fail_raddrinfo_or_sockaddr(), rt__valid_date_frags_p(), rt_complete_frags(), rt_rewrite_frags(), s3e(), scalar(), select_internal(), set_trace_func(), setup_exception(), setup_narg(), singleton_class_of(), sock_initialize(), sock_s_getaddrinfo(), sock_s_gethostbyaddr(), sock_s_getnameinfo(), sock_s_getservbyname(), sock_s_getservbyport(), sockopt_s_linger(), specific_eval(), ssl_renegotiation_cb(), start_mapping(), start_sequence(), str_byte_aref(), str_gsub(), str_scrub(), str_scrub_bang(), str_transcode(), str_transcode0(), str_transcode_enc_args(), strio_each(), strio_each_char(), strio_getline(), strio_read(), strio_read_nonblock(), strio_readbyte(), strio_readchar(), strio_readline(), strio_readlines(), strio_seek(), strio_set_encoding(), strio_size(), strio_sysread(), strio_ungetbyte(), strio_ungetc(), strscan_inspect(), subx(), switch(), syserr_eqq(), syserr_initialize(), tcl_protect_core(), thread_initialize(), thread_join_m(), thread_set_trace_func_m(), threadptr_local_aset(), time_arg(), time_getlocaltime(), time_init_1(), time_localtime_m(), time_mload(), time_round(), time_timespec(), tr_find(), tr_setup_table(), tr_trans(), tracepoint_inspect(), transcode_io(), transcode_loop(), trap_handler(), uscore_get(), using_module_recursive(), utc_offset_arg(), validate_labels(), validate_vtm(), vm_backtrace_to_ary(), vm_call_method(), vm_call_super(), vm_callee_setup_keyword_arg(), vm_caller_setup_args(), vm_cref_push(), vm_define_method(), vm_get_cvar_base(), vm_get_ev_const(), vm_search_super_method(), vm_yield_setup_block_args(), VpGetException(), VpGetPrecLimit(), VpGetRoundMode(), w_object(), wakeup_first_thread(), warn_print(), wdivmod(), while(), wmap_has_key(), xmlschema_datetime_cb(), xmlschema_time_cb(), xmlschema_trunc_cb(), zstream_append_buffer(), zstream_append_input(), zstream_buffer_ungetbyte(), zstream_buffer_ungets(), zstream_detach_buffer(), zstream_detach_input(), zstream_discard_input(), zstream_expand_buffer(), zstream_expand_buffer_into(), zstream_passthrough_input(), zstream_run(), and zstream_sync().

static int pending_exception_check0 ( )
static
RARRAY_PTR ( q->  result) = ret
return rb_ary_new3 ( ,
loop_max  ,
no_event   
)
rb_ary_push ( eventloop_stack  ,
parent_evloop   
)
return rb_ensure ( lib_eventloop_main_core  ,
(VALUE args,
lib_eventloop_ensure  ,
(VALUE args 
)
return rb_ensure ( lib_watchdog_core  ,
check_rootwidget  ,
lib_watchdog_ensure  ,
Qnil   
)
return rb_ensure ( _thread_call_proc_core  ,
(VALUE q,
_thread_call_proc_ensure  ,
(VALUE q 
)
rb_exc_raise ( exc  )
return rb_funcall ( q->  proc,
ID_call  ,
 
)
rb_hash_aset ( table  ,
ENCODING_NAME_BINARY  ,
encobj   
)
rb_hash_aset ( table  ,
encobj  ,
ENCODING_NAME_BINARY   
)
rb_ivar_set ( einfo  ,
ID_at_interp  ,
interp   
)
rb_ivar_set ( table  ,
ID_at_interp  ,
interp   
)
rb_ivar_set ( interp  ,
ID_encoding_table  ,
table   
)
rb_notimplement ( )
rb_protect ( invoke_tcl_proc  ,
(VALUE)&  inf,
status 
)
rb_raise ( rb_eNotImpError  ,
"eventloop_watchdog is not implemented on Ruby VM."   
)
rb_set_safe_level ( q->  safe_level)
rb_set_safe_level ( )
rb_thread_schedule ( )

Definition at line 1191 of file thread.c.

rb_thread_wait_for ( t  )
rb_thread_wakeup ( param->  thread)
void rbtk_EventCheckProc ( ClientData  clientData,
int  flag 
)

Definition at line 1999 of file tcltklib.c.

References rb_thread_schedule().

void rbtk_EventSetupProc ( ClientData  clientData,
int  flag 
)

Definition at line 1990 of file tcltklib.c.

References tcl_time.

rbtk_preserve_ip ( ptr  )
rbtk_preserve_ip ( slave  )
rbtk_release_ip ( ptr  )

Referenced by if().

return ( ptr->  ref_count)
return ( char *  )

Definition at line 4207 of file tcltklib.c.

return ( (q->func)(q->interp, q->argc, q->argv )
return ( INT2FIX(ptr->return_value )
return ( strval  )
return set_eventloop_tick ( self  ,
tick   
)

Referenced by Init_tcltklib().

return set_eventloop_weight ( self  ,
loop_max  ,
no_event   
)

Referenced by Init_tcltklib().

return set_no_event_wait ( self  ,
wait   
)

Referenced by Init_tcltklib().

static void set_tcltk_version ( )
static

Definition at line 117 of file tcltklib.c.

References tcltk_version.

StringValue ( msg  )
StringValue ( name  )
Initial value:
{
get_ip(interp)
static int Tcl_Interp * interp
Definition: tcltklib.c:282
StringValue ( str  )
StringValue ( varname  )
StringValue ( value  )
StringValue ( list_str  )
switch ( TYPE(time )
switch ( argc  )
switch ( (enum options index)
switch ( cnt  )

Definition at line 6249 of file tcltklib.c.

References tcltkip::ip, NIL_P(), Qfalse, StringValuePtr, and Tcl_Eval.

switch ( status  )
switch ( tcltk_version.  type)
Tcl_AllowExceptions ( interp  )
Tcl_AppendResult ( interp  ,
RSTRING_PTR(msg ,
(char *)  NULL 
)

Referenced by if(), switch(), and tcl_protect_core().

Tcl_CallWhenDeleted ( ptr->  ip,
ip_CallWhenDeleted  ,
(ClientData)  mainWin 
)
Tcl_CallWhenDeleted ( slave->  ip,
ip_CallWhenDeleted  ,
(ClientData)  mainWin 
)
Tcl_CreateCommand ( interp  ,
"vwait"  ,
ip_rbVwaitCommand  ,
(ClientData)  NULL,
(Tcl_CmdDeleteProc *)  NULL 
)

Referenced by if().

Tcl_CreateCommand ( interp  ,
"tkwait"  ,
ip_rbTkWaitCommand  ,
(ClientData)  mainWin,
(Tcl_CmdDeleteProc *)  NULL 
)
Tcl_CreateCommand ( interp  ,
"thread_vwait"  ,
ip_rb_threadVwaitCommand  ,
(ClientData)  NULL,
(Tcl_CmdDeleteProc *)  NULL 
)
Tcl_CreateCommand ( interp  ,
"thread_tkwait"  ,
ip_rb_threadTkWaitCommand  ,
(ClientData)  mainWin,
(Tcl_CmdDeleteProc *)  NULL 
)
Tcl_CreateCommand ( interp  ,
"update"  ,
ip_rbUpdateCommand  ,
(ClientData)  mainWin,
(Tcl_CmdDeleteProc *)  NULL 
)
Tcl_CreateCommand ( interp  ,
"thread_update"  ,
ip_rb_threadUpdateCommand  ,
(ClientData)  mainWin,
(Tcl_CmdDeleteProc *)  NULL 
)
Tcl_CreateCommand ( slave  ,
"exit"  ,
ip_InterpExitCommand  ,
(ClientData)  mainWin,
(Tcl_CmdDeleteProc *)  NULL 
)
Tcl_CreateCommand ( ptr->  ip,
"ruby"  ,
ip_ruby_eval  ,
(ClientData)  NULL,
(Tcl_CmdDeleteProc *)  NULL 
)
Tcl_CreateCommand ( ptr->  ip,
"ruby_eval"  ,
ip_ruby_eval  ,
(ClientData)  NULL,
(Tcl_CmdDeleteProc *)  NULL 
)
Tcl_CreateCommand ( ptr->  ip,
"ruby_cmd"  ,
ip_ruby_cmd  ,
(ClientData)  NULL,
(Tcl_CmdDeleteProc *)  NULL 
)
Tcl_CreateCommand ( ptr->  ip,
"interp_exit"  ,
ip_InterpExitCommand  ,
(ClientData)  mainWin,
(Tcl_CmdDeleteProc *)  NULL 
)
Tcl_CreateCommand ( ptr->  ip,
"ruby_exit"  ,
ip_RubyExitCommand  ,
(ClientData)  mainWin,
(Tcl_CmdDeleteProc *)  NULL 
)
Tcl_CreateCommand ( ptr->  ip,
"exit"  ,
ip_RubyExitCommand  ,
(ClientData)  mainWin,
(Tcl_CmdDeleteProc *)  NULL 
)
Tcl_CreateCommand ( ptr->  ip,
"__replace_slave_tk_commands__"  ,
ip_rb_replaceSlaveTkCmdsCommand  ,
(ClientData)  NULL,
(Tcl_CmdDeleteProc *)  NULL 
)
Tcl_CreateCommand ( slave->  ip,
"exit"  ,
ip_InterpExitCommand  ,
(ClientData)  mainWin,
(Tcl_CmdDeleteProc *)  NULL 
)
Tcl_CreateCommand ( slave->  ip,
"__replace_slave_tk_commands__"  ,
ip_rb_replaceSlaveTkCmdsCommand  ,
(ClientData)  NULL,
(Tcl_CmdDeleteProc *)  NULL 
)
Tcl_CreateCommand ( ptr->  ip,
"exit"  ,
ip_InterpExitCommand  ,
(ClientData)  mainWin,
(Tcl_CmdDeleteProc *)  NULL 
)
Tcl_CreateEventSource ( rbtk_EventSetupProc  ,
rbtk_EventCheckProc  ,
(ClientData)  args 
)
Tcl_DecrRefCount ( enc_list  )
Tcl_DeleteEventSource ( rbtk_EventSetupProc  ,
rbtk_EventCheckProc  ,
(ClientData)  args 
)
Tcl_DeleteTimerHandler ( timer_token  )

Referenced by while().

Tcl_DoWhenIdle ( rb_threadUpdateProc  ,
(ClientData)  param 
)
Tcl_Eval ( ptr->  ip,
"set argc 0; set argv {}; set argv0 tcltklib.so"   
)
&& Tcl_GetCommandInfo ( ip  ,
"after"  ,
info 
)

Definition at line 5783 of file tcltklib.c.

References DUMP1, Qfalse, Qnil, rb_debug_bup, rb_verbose_bup, ruby_debug, ruby_verbose, and Tcl_GlobalEval.

Referenced by if().

Tcl_GetEncodingNames ( ptr->  ip)
Tcl_IncrRefCount ( enc_list  )
Tcl_Preserve ( interp  )

Referenced by if().

Tcl_Preserve ( tkwin  )
Tcl_Preserve ( (ClientData)  param)
Tcl_Preserve ( ip  )
static int tcl_protect_core ( Tcl_Interp *  interp,
VALUE (*)()  proc,
VALUE  data 
)
static
Tcl_QueueEvent ( (Tcl_Event *)  callq,
TCL_QUEUE_HEAD   
)
Tcl_QueueEvent ( (Tcl_Event *)  evq,
position   
)
Tcl_Release ( interp  )

Referenced by if(), and switch().

Tcl_Release ( tkwin  )
Tcl_Release ( (ClientData)  param)
Tcl_Release ( ip  )
Tcl_ResetResult ( interp  )

Referenced by if(), switch(), and tcl_protect_core().

Tcl_ResetResult ( ptr->  ip)
Tcl_ResetResult ( inf->ptr->  ip)
tcl_stubs_check ( )
static
static VALUE tcltklib_compile_info ( )
static
return tk_funcall ( ip_create_slave_core  ,
,
callargv  ,
self   
)
return tk_funcall ( ip_create_console_core  ,
,
(VALUE *)  NULL,
self   
)
return tk_funcall ( ip_make_safe_core  ,
,
(VALUE *)  NULL,
self   
)
return tk_funcall ( lib_restart_core  ,
,
(VALUE *)  NULL,
self   
)
return tk_funcall ( ip_make_menu_embeddable_core  ,
,
argv  ,
interp   
)
static int trap_check ( int check_var)
static
va_end ( args  )
va_init_list ( args  ,
fmt   
)
while ( !param->  done)

Definition at line 4136 of file tcltklib.c.

References DUMP1, NIL_P(), rb_thread_wait_for(), and t.

xfree ( ptr  )
xfree ( q->  done)
xfree ( q  )
xfree ( buf  )

Variable Documentation

int all_bs

Definition at line 8334 of file tcltklib.c.

while alloc_done = RbTk_ALLOC_N(int, 1)

Definition at line 7111 of file tcltklib.c.

ptr allow_ruby_exit = 1

Definition at line 6184 of file tcltklib.c.

VALUE VALUE arg = argv[1]

Definition at line 2845 of file tcltklib.c.

static VALUE int argc
Initial value:
{
return rb_funcall(th, ID_value, 0)
static VALUE VALUE th
Definition: tcltklib.c:2944
rb_funcall(memo->yielder, id_lshift, 1, rb_assoc_new(memo->prev_value, memo->prev_elts))
static ID ID_value
Definition: tcltklib.c:233

Definition at line 1968 of file tcltklib.c.

Referenced by append_method(), argf_getpartial(), ary_ensure_room_for_unshift(), ary_memcpy(), call_cfunc_m1(), callback(), check_funcall_missing(), compat_init_setproctitle(), core_hash_merge(), dir_globs(), enum_zip(), enumerator_block_call(), enumerator_initialize(), enumerator_size(), env_values_at(), exit_initialize(), fdbm_values_at(), fgdbm_values_at(), fiber_switch(), flock_winnt(), fsdbm_values_at(), function_call(), gzfile_wrap(), if(), initialize(), invoke_block_from_c(), iseq_build_from_ary_body(), iseq_compile_each(), lazy_to_enum(), lazy_zip(), main(), moreswitches(), new_callinfo(), new_insn_body(), new_insn_core(), num_step_size(), obj_to_enum(), open_key_args(), pipe_open(), pipe_open_s(), proc_options(), rawmode_opt(), rb_add_method_cfunc(), rb_apply(), rb_ary_zip(), rb_block_call(), rb_check_argv(), rb_check_block_call(), rb_check_funcall_with_hook(), rb_cont_call(), rb_exec_fillarg(), rb_f_kill(), rb_f_p(), rb_f_p_internal(), rb_fiber_start(), rb_get_values_at(), rb_hash_s_create(), rb_hash_values_at(), rb_io_print(), rb_io_puts(), rb_io_s_foreach(), rb_io_s_popen(), rb_iseq_disasm(), rb_marshal_dump(), rb_mod_attr_accessor(), rb_mod_attr_reader(), rb_mod_attr_writer(), rb_mod_include(), rb_mod_modfunc(), rb_mod_prepend(), rb_mod_remove_method(), rb_mod_undef_method(), rb_obj_extend(), rb_proc_exec_n(), rb_reg_s_union(), rb_scan_args(), rb_spawn_process(), rb_str_count(), rb_str_delete_bang(), rb_str_encode(), rb_str_end_with(), rb_str_format(), rb_str_slice_bang(), rb_str_squeeze_bang(), rb_str_start_with(), rb_struct_initialize_m(), rb_struct_s_def(), rb_w32_asynchronize(), ruby_set_argv(), ruby_sysinit(), set_const_visibility(), set_method_visibility(), setup_args(), setup_method_cfunc_struct(), stub_sysinit(), tracepoint_new_s(), vm_call0(), vm_call0_cfunc_with_frame(), vm_call_cfunc_with_frame(), vm_callee_setup_arg_complex(), vm_callee_setup_keyword_arg(), vm_yield_setup_args(), and vm_yield_setup_block_args().

args
Initial value:
{
return lib_eventloop_main_core(args)
args[0]
Definition: enum.c:585

Definition at line 2561 of file tcltklib.c.

VALUE * argv = cmd_str
VALUE argv0
Initial value:
{
struct tcltkip *ptr
return ptr
Definition: tcltklib.c:789

Definition at line 6160 of file tcltklib.c.

ary
Initial value:
{
Tcl_Interp *interp
static int Tcl_Interp * interp
Definition: tcltklib.c:282

Definition at line 9721 of file tcltklib.c.

int at_exit = 0
static

Definition at line 186 of file tcltklib.c.

Referenced by ruby_vm_at_exit().

char ** av = RbTk_ALLOC_N(char *, (argc+1))
buf[len+1] = ALLOC_N(char, len + 2)

Definition at line 3563 of file tcltklib.c.

callargv[1] = name

Definition at line 6527 of file tcltklib.c.

callq = RbTk_ALLOC_N(struct call_queue, 1)

Definition at line 6997 of file tcltklib.c.

int chance = 0

Definition at line 2792 of file tcltklib.c.

Definition at line 2793 of file tcltklib.c.

Referenced by new_args_tail_gen().

args check_root = check_root
static

Definition at line 2185 of file tcltklib.c.

static VALUE VALUE check_rootwidget
static

Definition at line 2778 of file tcltklib.c.

check_rootwidget_flag = 0
static

Definition at line 543 of file tcltklib.c.

args check_var = check_var

Definition at line 2187 of file tcltklib.c.

static int ClientData clientData
static
Initial value:
{
at_exit = 1
static int at_exit
Definition: tcltklib.c:186

Definition at line 1616 of file tcltklib.c.

char * cmd
int cmd_len

Definition at line 7324 of file tcltklib.c.

char * cmd_str = rb_str_new2("thread_vwait")

Definition at line 5498 of file tcltklib.c.

inf cmdinfo = info

Definition at line 8694 of file tcltklib.c.

cnt = rb_scan_args(argc, argv, "02", &argv0, &opts)

Definition at line 6163 of file tcltklib.c.

VALUE cRubyEncoding
static

Definition at line 189 of file tcltklib.c.

volatile VALUE current = rb_thread_current()

Definition at line 7114 of file tcltklib.c.

Referenced by rb_str_upto(), and rollback_ensure_stack().

volatile VALUE current_evloop = rb_thread_current()

Definition at line 2619 of file tcltklib.c.

current_interp = ptr->ip

Definition at line 485 of file tcltklib.c.

volatile VALUE current_thread = rb_thread_current()

Definition at line 4038 of file tcltklib.c.

VALUE data

Definition at line 3360 of file tcltklib.c.

Referenced by accept_blocking(), add_code_range_to_buf0(), alloc_event_hook(), asciicompat_encoding_i(), bm_free(), bm_mark(), cdhash_set_label_i(), chfunc(), cleanup_iseq_build(), collect_caller_bindings_cfunc(), collect_caller_bindings_iseq(), connect_blocking(), constat_handle(), constat_reset(), cvar_list(), define_final0(), dlcfunc_free(), dlcfunc_mark(), dlcfunc_memsize(), dlptr_free(), dlptr_mark(), dlptr_memsize(), enc_check_encoding(), enum_sort_by(), eql_i(), ev_on_event(), fiddle_ptr_free(), fiddle_ptr_mark(), fiddle_ptr_memsize(), generic_ivar_defined(), generic_ivar_remove(), generic_ivar_set(), Instance_DidCreate(), Instance_DidDestroy(), int_sip_update(), is_onechar_cclass(), iseq_compile_each(), iseq_s_load(), line_trace_specify(), load_lock(), MD5_Finish(), md5_process(), MD5_Update(), method_arity(), method_clone(), method_get_def(), method_inspect(), method_min_max_arity(), method_name(), method_original_name(), method_owner(), method_receiver(), method_unbind(), mnew_from_me(), mod_cvar_at(), mod_cvar_of(), not_code_range_buf(), obj_alloc_by_klass(), obj_ivar_each(), obj_ivar_i(), ole_vstr2wc(), onig_is_in_code_range(), opt_W_getter(), ossl_cipher_update(), ossl_digest_initialize(), ossl_pkcs7_add_data(), ossl_pkcs7_s_encrypt(), ossl_pkcs7_s_read_smime(), ossl_pkcs7_s_sign(), ossl_pkcs7_s_write_smime(), ossl_pkcs7_verify(), ossl_pkey_new_from_data(), ossl_spki_to_pem(), ossl_ssl_session_initialize(), ossl_x509ext_set_value(), postponed_job_register(), pruby_register_instance(), push_mark_stack(), r_fixup_compat(), r_object0(), rb_bug_reporter_add(), rb_catch_protect(), rb_const_get_0(), rb_const_list(), rb_copy_generic_ivar(), rb_debug_inspector_open(), rb_dlcfunc2ptr(), rb_dlcfunc_initialize(), rb_dlcfunc_new(), rb_dlcfunc_s_allocate(), rb_dlptr2cptr(), rb_dlptr_aref(), rb_dlptr_aset(), rb_dlptr_free_set(), rb_dlptr_initialize(), rb_dlptr_inspect(), rb_dlptr_new2(), rb_dlptr_null_p(), rb_dlptr_ptr(), rb_dlptr_ref(), rb_dlptr_s_allocate(), rb_dlptr_to_i(), rb_dlptr_to_s(), rb_dlptr_to_str(), rb_dlptr_to_value(), rb_f_untrace_var(), rb_feature_p(), rb_fiddle_ptr2cptr(), rb_fiddle_ptr_aref(), rb_fiddle_ptr_aset(), rb_fiddle_ptr_free_set(), rb_fiddle_ptr_initialize(), rb_fiddle_ptr_inspect(), rb_fiddle_ptr_new2(), rb_fiddle_ptr_null_p(), rb_fiddle_ptr_ptr(), rb_fiddle_ptr_ref(), rb_fiddle_ptr_s_allocate(), rb_fiddle_ptr_to_i(), rb_fiddle_ptr_to_s(), rb_fiddle_ptr_to_str(), rb_fiddle_ptr_to_value(), rb_gc_copy_finalizer(), rb_global_entry(), rb_hash_has_value(), rb_hash_search_value(), rb_id2str(), rb_intern3(), rb_iseq_line_trace_each(), rb_ivar_count(), rb_method_call_with_block(), rb_method_entry_make(), rb_mod_const_at(), rb_mod_const_of(), rb_mod_s_constants(), rb_objspace_each_objects(), rb_objspace_reachable_objects_from(), rb_objspace_reachable_objects_from_root(), rb_set_end_proc(), rb_thread_flock(), rb_undefine_finalizer(), rb_waitpid_blocking(), reachable_object_from_i(), reachable_object_from_root_i(), recursive_eql(), recvfrom_blocking(), remove_method(), rsock_send_blocking(), rsock_sendto_blocking(), socklist_delete(), socklist_lookup(), sockopt_bool(), sockopt_byte(), sockopt_int(), sockopt_linger(), sort_1(), sort_2(), st_hash(), syserr_initialize(), sysopen_func(), thgroup_add(), thgroup_enclose(), thgroup_enclosed_p(), thgroup_s_alloc(), time_mload(), total_i(), tracepoint_new(), umethod_bind(), val2dispatch(), val_getter(), val_marker(), var_getter(), verbose_setter(), verify_internal_consistency_i(), verify_internal_consistency_reachable_i(), vm_get_ev_const(), wmap_aref(), wmap_finalize(), yaml_emitter_anchor_node(), yaml_emitter_dump_mapping(), yaml_emitter_dump_sequence(), yaml_emitter_set_output(), yaml_file_read_handler(), yaml_file_write_handler(), yaml_parser_register_anchor(), yaml_parser_set_input(), yaml_string_read_handler(), and yaml_string_write_handler().

VALUE divmod
Initial value:
{
struct Tcl_Time tcl_time
Tcl_SetMaxBlockTime & tcl_time
Definition: tcltklib.c:1894

Definition at line 1867 of file tcltklib.c.

do
Initial value:
{
DUMP2("eventloop thread %lx is sleeping or dead",
evloop = rb_thread_create(watchdog_evloop_launcher,
(void*)&check_rootwidget);
DUMP2("create new eventloop thread %lx", evloop);
chance = 0;
rb_thread_run(evloop);
} else {
++chance;
} else {
chance = 0;
}
} else {
}
}
} while(!check || !tk_stubs_init_p() || Tk_GetNumMainWindows() != 0)
int chance
Definition: tcltklib.c:2792
rb_funcall(memo->yielder, id_lshift, 1, rb_assoc_new(memo->prev_value, memo->prev_elts))
static VALUE VALUE check_rootwidget
Definition: tcltklib.c:2778
static VALUE eventloop_thread
Definition: tcltklib.c:475
int prev_val
Definition: tcltklib.c:2791
#define RTEST(v)
int check
Definition: tcltklib.c:2793
VALUE rb_thread_run(VALUE)
Definition: thread.c:2322
#define DUMP2(ARG1, ARG2)
Definition: tcltklib.c:168
struct timeval t0 t1
Definition: tcltklib.c:2794
void rb_thread_wait_for(struct timeval)
Definition: thread.c:1119
static ID ID_stop_p
Definition: tcltklib.c:229
static int event_loop_wait_event
Definition: tcltklib.c:539
VALUE rb_thread_create(VALUE(*)(ANYARGS), void *)
Definition: thread.c:745
int tk_stubs_init_p()
Definition: stubs.c:500
static int loop_counter
Definition: tcltklib.c:541
#define EVLOOP_WAKEUP_CHANCE
Definition: tcltklib.c:2784

Definition at line 2812 of file tcltklib.c.

ivq done = 1
* donePtr = 1

Definition at line 4206 of file tcltklib.c.

volatile VALUE dst = result
Tcl_DString dstr
Initial value:
{
char *buf
unsigned char buf[MIME_BUF_SIZE]
Definition: nkf.c:4308

Definition at line 3089 of file tcltklib.c.

int dummy

Definition at line 4473 of file tcltklib.c.

Referenced by BigDecimal_dump(), readdir_internal(), sort_1(), and sort_2().

Definition at line 852 of file tcltklib.c.

Referenced by error_print(), make_regexp(), and rb_reg_prepare_re().

volatile VALUE elem
VALUE eLocalJumpError
static

Definition at line 214 of file tcltklib.c.

else
Initial value:
{
Tcl_Preserve((ClientData)ptr->ip)
return ptr
Definition: tcltklib.c:789
Tcl_Preserve(interp)

Definition at line 816 of file tcltklib.c.

VALUE enc

Definition at line 10318 of file tcltklib.c.

Referenced by and_cclass(), check_dirname(), check_path_encoding(), compile_length_string_node(), compile_string_node(), copy_home_path(), dir_initialize(), econv_get_replacement(), econv_set_replacement(), enc_arg(), enc_compatible_p(), enc_find(), enc_inspect(), fetch_escaped_value(), fetch_name(), fetch_name_with_level(), fetch_range_quantifier(), fetch_token_in_cc(), file_s_fnmatch(), find_encoding(), fnmatch_brace(), gzreader_gets(), Init_id(), int_chr(), intern_str(), io_encoding_set(), lex_get_str(), load_file_internal(), make_dummy_encoding(), make_encoding(), make_writeconv(), must_be_ascii_compatible(), must_encindex(), nkf_default_encoding(), nkf_locale_encoding(), ole_vstr2wc(), onigenc_set_default_encoding(), options(), or_cclass(), parser_here_document(), parser_parse_string(), parser_set_encode(), parser_tokadd_string(), parser_yylex(), path_check_0(), process_options(), push_glob(), rb_define_dummy_encoding(), rb_econv_open_opts(), rb_enc_aliases_enc_i(), rb_enc_associate_index(), rb_enc_check(), rb_enc_find_index(), rb_enc_from_encoding_index(), rb_enc_set_dummy(), rb_enc_str_asciionly_p(), rb_enc_str_coderange(), rb_encdb_dummy(), rb_file_dirname(), rb_file_expand_path_internal(), rb_file_join(), rb_file_s_basename(), rb_glob2(), rb_io_each_char(), rb_io_each_codepoint(), rb_io_extract_modeenc(), rb_io_getc(), rb_io_getline_1(), rb_mod_const_defined(), rb_mod_const_get(), rb_must_asciicompat(), rb_path_to_class(), rb_realpath_internal(), rb_reg_adjust_startpos(), rb_reg_check_preprocess(), rb_reg_desc(), rb_reg_initialize_m(), rb_reg_initialize_str(), rb_reg_prepare_enc(), rb_reg_prepare_re(), rb_reg_preprocess(), rb_reg_quote(), rb_reg_s_union(), rb_reg_to_s(), rb_str_append(), rb_str_buf_cat_ascii(), rb_str_capitalize_bang(), rb_str_casecmp(), rb_str_chomp_bang(), rb_str_concat(), rb_str_downcase_bang(), rb_str_encode_ospath(), rb_str_end_with(), rb_str_enumerate_chars(), rb_str_enumerate_codepoints(), rb_str_enumerate_lines(), rb_str_fill_terminator(), rb_str_format(), rb_str_index(), rb_str_justify(), rb_str_lstrip_bang(), rb_str_plus(), rb_str_quote_unprintable(), rb_str_reverse(), rb_str_rindex(), rb_str_rstrip_bang(), rb_str_scrub(), rb_str_shared_replace(), rb_str_splice(), rb_str_split_m(), rb_str_sub_bang(), rb_str_subpat_set(), rb_str_subpos(), rb_str_succ(), rb_str_swapcase_bang(), rb_str_symname_p(), rb_str_upcase_bang(), rb_str_upto(), rb_string_value_cstr(), read_all(), readline_attempted_completion_function(), realpath_rec(), reg_named_capture_assign_iter(), ruby__sfvextra(), ruby_brace_expand(), set_base_encoding(), single_byte_optimizable(), str_end_with_asciichar(), strio_binmode(), strio_each_codepoint(), strio_getc(), strio_set_encoding(), strio_substr(), strio_ungetc(), strio_write(), swallow(), time_strftime(), tr_trans(), transcode_search_path(), unescape_escaped_nonascii(), unescape_nonascii(), update_char_offset(), and w_encoding().

VALUE enc_arg
Tcl_Obj * enc_list = Tcl_GetObjResult(ptr->ip)

Definition at line 10161 of file tcltklib.c.

Referenced by Init_Encoding().

VALUE enc_name

Definition at line 8441 of file tcltklib.c.

Referenced by enc_dump(), Init_Encoding(), ole_cp2encoding(), and proc_options().

volatile VALUE encname = Qnil

Definition at line 10162 of file tcltklib.c.

Referenced by nkf_locale_encoding(), parse_mode_enc(), and rb_econv_set_replacement().

volatile VALUE encobj = Qnil

Definition at line 10163 of file tcltklib.c.

Referenced by readline_attempted_completion_function().

VALUE encodename

Definition at line 7944 of file tcltklib.c.

int ENCODING_INDEX_BINARY
static

Definition at line 193 of file tcltklib.c.

int ENCODING_INDEX_UTF8
static

Definition at line 192 of file tcltklib.c.

VALUE ENCODING_NAME_BINARY
static

Definition at line 196 of file tcltklib.c.

VALUE ENCODING_NAME_UTF8
static

Definition at line 195 of file tcltklib.c.

char* endptr

Definition at line 3774 of file tcltklib.c.

VALUE error_mode

Definition at line 10105 of file tcltklib.c.

VALUE eTkCallbackBreak
static

Definition at line 211 of file tcltklib.c.

Referenced by tcl_protect_core().

VALUE eTkCallbackContinue
static

Definition at line 212 of file tcltklib.c.

Referenced by tcl_protect_core().

VALUE eTkCallbackRedo
static

Definition at line 218 of file tcltklib.c.

VALUE eTkCallbackRetry
static

Definition at line 217 of file tcltklib.c.

VALUE eTkCallbackReturn
static

Definition at line 210 of file tcltklib.c.

Referenced by tcl_protect_core().

VALUE eTkCallbackThrow
static

Definition at line 219 of file tcltklib.c.

VALUE eTkLocalJumpError
static

Definition at line 216 of file tcltklib.c.

eval_str[RSTRING_LEN(str)]
Initial value:
{
struct eval_queue *evq
VALUE evq
Definition: tcltklib.c:7484

Definition at line 7597 of file tcltklib.c.

int event_flag

Definition at line 2192 of file tcltklib.c.

int event_loop_abort_on_exc = 1
static

Definition at line 540 of file tcltklib.c.

event_loop_max = DEFAULT_EVENT_LOOP_MAX
static

Definition at line 532 of file tcltklib.c.

Referenced by for().

int event_loop_wait_event = 0
static

Definition at line 539 of file tcltklib.c.

eventloop_interp = ptr->ip
static

Definition at line 476 of file tcltklib.c.

VALUE eventloop_stack
static

Definition at line 480 of file tcltklib.c.

eventloop_thread = rb_thread_current()
static

Definition at line 475 of file tcltklib.c.

XEvent * eventPtr

Definition at line 4441 of file tcltklib.c.

int Tcl_Event * evPtr
static

Definition at line 7010 of file tcltklib.c.

evq = RbTk_ALLOC_N(struct eval_queue, 1)

Definition at line 7484 of file tcltklib.c.

exc = tcltkip_init_tk(interp)
const char finalize_hook_name[] = "INTERP_FINALIZE_HOOK"
static

Definition at line 182 of file tcltklib.c.

VALUE VALUE flag_val
static

Definition at line 2041 of file tcltklib.c.

int* flagPtr
Initial value:
{
int num, len
int len
Definition: enumerator.c:1332

Definition at line 9873 of file tcltklib.c.

int flags
Initial value:
{
volatile VALUE vflags
unsigned long VALUE
Definition: ripper.y:88

Definition at line 3015 of file tcltklib.c.

Referenced by addrinfo_getnameinfo(), addrinfo_initialize(), addrinfo_s_getaddrinfo(), BSD_vfprintf(), check_class(), check_exec_redirect(), cloexec_accept(), date_strftime_with_tmx(), dir_s_glob(), dln_load(), dump_object(), econv_primitive_convert(), fd_set_cloexec(), fdbm_initialize(), fgdbm_initialize(), file_s_fnmatch(), find_coclass(), find_default_source_from_typeinfo(), get_device_once(), gzfile_make_header(), gzfile_read_header(), iseq_compile_each(), make_fd_nonblock(), newobj_of(), obj_free(), obj_memsize_of(), ole_method_event(), ole_type_impl_ole_types(), ossl_pkcs7_decrypt(), ossl_pkcs7_s_encrypt(), ossl_pkcs7_s_sign(), ossl_pkcs7_s_write_smime(), ossl_pkcs7_verify(), ossl_x509stctx_set_flags(), ossl_x509store_set_flags(), overlapped_socket_io(), pack_unpack(), parser_tokadd_escape(), path_fnmatch(), postponed_job_register(), proc_wait(), range_initialize(), rb_big_realloc(), rb_check_copyable(), rb_check_inheritable(), rb_class_real(), rb_file_expand_path_internal(), rb_getnameinfo(), rb_hash_dup_empty(), rb_insn_operand_intern(), rb_maygvl_fd_fix_cloexec(), rb_method_entry_get_without_cache(), rb_node_newnode(), rb_obj_copy_ivar(), rb_reg_desc(), rb_reg_initialize_m(), rb_reg_options(), rb_reg_prepare_enc(), rb_search_method_entry(), rb_singleton_class_clone_and_attach(), rb_str_format(), rb_str_new_frozen(), rb_str_shared_replace(), rb_strftime_with_timespec(), rb_transcoding_open_by_transcoder(), rb_w32_getsockname(), rb_waitpid(), recvmsg(), rsock_addrinfo(), rsock_bsock_send(), rsock_s_recvfrom_nonblock(), ruby_brace_glob0(), sock_s_getaddrinfo(), sock_s_getnameinfo(), strio_init(), trans_sweep(), and udp_send().

const char* fmt
int found_event = 1

Definition at line 2191 of file tcltklib.c.

Referenced by for().

callq func = func
static

Definition at line 7104 of file tcltklib.c.

slave has_orig_exit = Tcl_GetCommandInfo(ptr->ip, "exit", &(ptr->orig_exit_info))

Definition at line 6226 of file tcltklib.c.

int have_rb_thread_waiting_for_value = 0
static

Definition at line 504 of file tcltklib.c.

int i

Definition at line 3596 of file tcltklib.c.

ID ID_alive_p
static

Definition at line 230 of file tcltklib.c.

ID ID_at_enc
static

Definition at line 223 of file tcltklib.c.

ID ID_at_interp
static

Definition at line 224 of file tcltklib.c.

ID ID_at_reason
static

Definition at line 239 of file tcltklib.c.

ID ID_backtrace
static

Definition at line 236 of file tcltklib.c.

ID ID_break
static

Definition at line 241 of file tcltklib.c.

ID ID_call
static

Definition at line 235 of file tcltklib.c.

ID ID_encoding_name
static

Definition at line 226 of file tcltklib.c.

ID ID_encoding_table
static

Definition at line 227 of file tcltklib.c.

ID ID_inspect
static

Definition at line 245 of file tcltklib.c.

ID ID_join
static

Definition at line 232 of file tcltklib.c.

ID ID_kill
static

Definition at line 231 of file tcltklib.c.

ID ID_message
static

Definition at line 237 of file tcltklib.c.

ID ID_next
static

Definition at line 242 of file tcltklib.c.

ID ID_return
static

Definition at line 240 of file tcltklib.c.

ID ID_stop_p
static

Definition at line 229 of file tcltklib.c.

ID ID_to_s
static

Definition at line 244 of file tcltklib.c.

ID ID_value
static

Definition at line 233 of file tcltklib.c.

Definition at line 9724 of file tcltklib.c.

VALUE index = argv[1]
struct invoke_info inf
Tcl_CmdInfo info
static VALUE VALUE interp = interp
static

Definition at line 282 of file tcltklib.c.

slave ip
static

Definition at line 5579 of file tcltklib.c.

Referenced by Init_tcltklib().

static VALUE VALUE ip_obj = obj

Definition at line 7115 of file tcltklib.c.

int is_ip

Definition at line 3014 of file tcltklib.c.

is_tk_evloop_thread = 1

Definition at line 7113 of file tcltklib.c.

ivq = RbTk_ALLOC_N(struct invoke_queue, 1)

Definition at line 8992 of file tcltklib.c.

Definition at line 3496 of file tcltklib.c.

Referenced by add_activated_refinement(), check_redefined_method(), coverage(), enum_sort_by(), exc_inspect(), find_class_path(), flatten(), fole_s_const_load(), generate_json(), get_klass(), gzfile_wrap(), has_extra_methods(), id2ref(), Init_VM(), int_ossl_asn1_decode0_cons(), int_ossl_asn1_decode0_prim(), JSON_parse_object(), JSON_parse_string(), make_singleton_class(), mnew_from_me(), newobj_i(), path_entries(), r_object0(), range_loader(), rb_alias(), rb_any_cmp(), rb_ary_subseq(), rb_check_copyable(), rb_check_funcall(), rb_check_funcall_with_hook(), rb_class_boot(), rb_class_initialize(), rb_class_subclass_add(), rb_const_defined_0(), rb_const_get_0(), rb_cvar_get(), rb_cvar_set(), rb_define_class(), rb_define_class_id(), rb_define_class_id_under(), rb_f_autoload(), rb_f_autoload_p(), rb_get_alloc_func(), rb_hash_reject(), rb_include_class_new(), rb_io_fdopen(), rb_io_s_pipe(), rb_ivar_set(), rb_method_call_status(), rb_method_entry_make(), rb_method_name_error(), rb_mod_nesting(), rb_mod_s_constants(), rb_obj_alloc(), rb_obj_define_method(), rb_obj_instance_eval(), rb_obj_instance_exec(), rb_obj_singleton_method(), rb_obj_singleton_methods(), rb_profile_frame_classpath(), rb_profile_frame_singleton_method_p(), rb_raise_jump(), rb_search_method_entry(), rb_singleton_class(), rb_singleton_class_clone_and_attach(), rb_singleton_class_get(), rb_str_new_frozen(), rb_str_vcatf(), rb_struct_initialize_m(), rb_threadptr_pending_interrupt_check_mask(), rb_undef(), rb_using_refinement(), rb_vm_bugreport(), remove_method(), rsock_s_recvfrom(), ruby__sfvwrite(), search_method(), singleton_class_of(), sort_reentered(), struct_define_without_accessor(), syserr_initialize(), top_define_method(), using_module_recursive(), vm_call_method(), vm_call_super(), vm_define_method(), vm_get_cbase(), vm_get_const_base(), vm_get_cvar_base(), vm_get_ev_const(), vm_get_iclass(), vm_getivar(), vm_push_frame(), vm_rewrite_ep_in_errinfo(), vm_search_method(), vm_setivar(), w_class(), w_object(), and w_uclass().

int len = strlen(str)

Definition at line 3560 of file tcltklib.c.

size_t length = strlen(objv[1])
list_enc_idx = rb_enc_get_index(list_str)

Definition at line 9727 of file tcltklib.c.

list_ivar_enc = rb_ivar_get(list_str, ID_at_enc)

Definition at line 9728 of file tcltklib.c.

VALUE list_str

Definition at line 9720 of file tcltklib.c.

int loop_counter = 0
static

Definition at line 541 of file tcltklib.c.

VALUE loop_max

Definition at line 1812 of file tcltklib.c.

Tk_Window mainWin = Tk_MainWindow(slave)

Definition at line 5865 of file tcltklib.c.

int major
VALUE VALUE master
static

Definition at line 6554 of file tcltklib.c.

Referenced by chfunc(), and establishShell().

VALUE menu_path

Definition at line 10763 of file tcltklib.c.

method
int minor
VALUE mode
volatile VALUE name = argv[0]
static

Definition at line 3487 of file tcltklib.c.

char * name1

Definition at line 4199 of file tcltklib.c.

Referenced by ossl_x509name_cmp0(), and rb_alias_variable().

char * name2

Definition at line 4200 of file tcltklib.c.

Referenced by ossl_x509name_cmp0().

char * nameString = objv[2]

Definition at line 4472 of file tcltklib.c.

int no_ev = NUM2INT(no_event)

Definition at line 1816 of file tcltklib.c.

VALUE no_event

Definition at line 1813 of file tcltklib.c.

no_event_tick = DEFAULT_NO_EVENT_TICK
static

Definition at line 533 of file tcltklib.c.

Referenced by for().

no_event_wait = DEFAULT_NO_EVENT_WAIT
static

Definition at line 534 of file tcltklib.c.

VALUE obj
static
Initial value:
encoding_table_get_name_core(table, enc, error_mode))
VALUE error_mode
Definition: tcltklib.c:10105
#define rb_hash_lookup
Definition: tcltklib.c:269
static int VALUE table
Definition: tcltklib.c:10145
VALUE enc
Definition: tcltklib.c:10318

Definition at line 3150 of file tcltklib.c.

Referenced by append_extmod(), ary_new_dim(), ary_store_dim(), backtrace_alloc(), BigDecimal_coerce(), BigDecimal_inspect(), BigDecimal_prec(), BigDecimal_split(), boot_defclass(), check_gen_consistency(), class_alloc(), copy_ivar_i(), create_win32ole_object(), cState_init_copy(), cvar_front_klass(), d_complex_new_internal(), d_simple_new_internal(), date_s__load(), decode_obj(), define_final(), dh_instance(), dir_s_alloc(), dsa_instance(), dump_object(), enum_each_entry(), enum_each_with_index(), enum_reverse_each(), enumerator_each(), enumerator_init(), enumerator_init_copy(), enumerator_rewind(), enumerator_size(), env_alloc(), etc_each_passwd(), EVENTSINK_Invoke(), exc_backtrace(), exc_backtrace_locations(), exec_recursive(), fdbm_clear(), fdbm_delete_if(), fdbm_each_key(), fdbm_each_pair(), fdbm_each_value(), fdbm_initialize(), fdbm_replace(), fdbm_s_open(), fdbm_update(), fev_s_allocate(), fgdbm_clear(), fgdbm_delete_if(), fgdbm_each_key(), fgdbm_each_pair(), fgdbm_each_value(), fgdbm_initialize(), fgdbm_reorganize(), fgdbm_replace(), fgdbm_s_open(), fgdbm_sync(), fgdbm_update(), fole_method_help(), fole_s_allocate(), folemethod_initialize(), folemethod_s_allocate(), foleparam_s_allocate(), foletype_s_allocate(), foletype_s_ole_classes(), foletypelib_s_allocate(), folevariant_s_allocate(), folevariant_s_array(), freeobj_i(), fsdbm_clear(), fsdbm_delete_if(), fsdbm_each_key(), fsdbm_each_pair(), fsdbm_each_value(), fsdbm_initialize(), fsdbm_replace(), fsdbm_s_open(), fsdbm_update(), generator_allocate(), generator_init(), generator_init_copy(), get_digest_base_metadata(), givar_i(), gzfile_wrap(), hide_obj(), if(), iow_inspect(), iow_internal_object_id(), iow_size(), iow_type(), iseq_build_from_ary_body(), lazy_initialize(), lazy_lazy(), loaded_features_index_clear_i(), location_create(), marshal_dump(), match_init_copy(), mnew_from_me(), mString_to_json_raw(), mutex_alloc(), newobj_i(), newobj_of(), nucomp_s_new_internal(), nurat_s_new_internal(), obj2vint(), obj_alloc_by_klass(), obj_ivar_each(), obj_resurrect(), object_allocations_reporter_i(), objspace_dump(), ole_ary_m_entry(), ole_each_sub(), ole_invoke(), ole_invoke2(), ole_variant2val(), ossl_bn_alloc(), ossl_bn_new(), ossl_bn_s_generate_prime(), ossl_cipher_alloc(), ossl_client_cert_cb(), ossl_dh_new(), ossl_dh_s_generate(), ossl_dh_to_public_key(), ossl_digest_alloc(), ossl_dsa_new(), ossl_dsa_s_generate(), ossl_dsa_to_public_key(), ossl_hmac_alloc(), ossl_pkcs12_s_allocate(), ossl_pkcs12_s_create(), ossl_pkcs7_alloc(), ossl_pkcs7ri_alloc(), ossl_pkcs7ri_new(), ossl_pkcs7si_alloc(), ossl_pkcs7si_new(), ossl_pkey_alloc(), ossl_protect_obj2bio(), ossl_rsa_new(), ossl_rsa_s_generate(), ossl_rsa_to_public_key(), ossl_spki_alloc(), ossl_ssl_get_peer_cert(), ossl_to_der_if_possible(), ossl_x509_alloc(), ossl_x509_new(), ossl_x509_new_from_file(), ossl_x509attr_alloc(), ossl_x509attr_new(), ossl_x509attr_set_oid(), ossl_x509crl_alloc(), ossl_x509crl_new(), ossl_x509ext_alloc(), ossl_x509ext_new(), ossl_x509ext_set_oid(), ossl_x509extfactory_alloc(), ossl_x509extfactory_create_ext(), ossl_x509name_alloc(), ossl_x509name_new(), ossl_x509req_alloc(), ossl_x509req_new(), ossl_x509revoked_alloc(), ossl_x509revoked_new(), ossl_x509stctx_alloc(), ossl_x509stctx_clear_ptr(), ossl_x509stctx_new(), ossl_x509store_alloc(), ossl_x509store_new(), predefined_dlhandle(), predefined_fiddle_handle(), pruby_obj_to_var(), pruby_register_instance(), random_alloc(), random_copy(), random_init(), random_load(), rb_ary_count(), rb_binding_alloc(), rb_block_call(), rb_check_block_call(), rb_class_allocate_instance(), rb_class_new_instance(), rb_deflate_addstr(), rb_deflate_initialize(), rb_digest_base_alloc(), rb_digest_class_s_digest(), rb_dlcfunc_s_allocate(), rb_dlhandle_s_allocate(), rb_dlptr_s_allocate(), rb_dlptr_s_malloc(), rb_enc_associate_index(), rb_execarg_run_options(), rb_fiddle_handle_s_allocate(), rb_fiddle_ptr_s_allocate(), rb_fiddle_ptr_s_malloc(), rb_gdbm_delete(), rb_get_path_check_to_string(), rb_gzreader_each(), rb_gzreader_initialize(), rb_gzwriter_flush(), rb_gzwriter_initialize(), rb_hash_rassoc(), rb_inflate_add_dictionary(), rb_inflate_addstr(), rb_inflate_initialize(), rb_marshal_dump(), rb_method_name_error(), rb_mod_extend_object(), rb_mod_private_constant(), rb_mod_private_method(), rb_mod_public_constant(), rb_mod_public_method(), rb_obj_alloc(), rb_obj_as_string(), rb_obj_extend(), rb_obj_freeze(), rb_obj_hide(), rb_obj_init_copy(), rb_obj_init_dup_clone(), rb_obj_reveal(), rb_obj_setup(), rb_obj_taint(), rb_obj_tap(), rb_obj_untaint(), rb_undef(), rb_undefine_finalizer(), reachable_object_from_i(), rmpd_power_by_big_decimal(), rsa_instance(), rsock_sockopt_new(), ruby_debug_print_value(), select_internal(), strio_s_open(), sym_call(), thread_alloc(), time_s_alloc(), w_object(), wmap_allocate(), wmap_aref(), wmap_finalize(), yielder_allocate(), yielder_init(), yielder_yield_push(), and zstream_new().

int objc

Definition at line 3879 of file tcltklib.c.

Referenced by if().

Tcl_Obj ** objv

Definition at line 3880 of file tcltklib.c.

VALUE old_gc = rb_gc_disable()

Definition at line 3600 of file tcltklib.c.

Referenced by tcl_protect_core().

static CONST char * optionStrings
static
Initial value:
= { "variable", "visibility", "window",
(char *) NULL }
#define NULL
Definition: _sdbm.c:102

Definition at line 4469 of file tcltklib.c.

VALUE opts
param = RbTk_ALLOC_N(struct th_update_param, 1)

Definition at line 3770 of file tcltklib.c.

int patchlevel

Definition at line 113 of file tcltklib.c.

Tcl_QueuePosition position = TCL_QUEUE_TAIL

Definition at line 7609 of file tcltklib.c.

Referenced by get_line_info().

int prev_val = -1

Definition at line 2791 of file tcltklib.c.

ivq ev proc
* ptr
Initial value:
{
) {
DUMP1("ip is deleted");
return 1;
}
return 0
#define DUMP1(ARG1)
Definition: tcltklib.c:167

Definition at line 789 of file tcltklib.c.

Referenced by add_pointer(), addrinfo_mark(), argf_free(), argf_mark(), argf_memsize(), ary_ensure_room_for_unshift(), ary_mem_clear(), ary_memcpy(), ary_memfill(), ary_new(), ary_resize_capa(), atomic_size_exchange(), autoload_i_free(), autoload_i_mark(), autoload_memsize(), big2str_base_poweroftwo(), BigDecimal_memsize(), bind_local_variable_get(), bind_local_variable_set(), binding_free(), binding_mark(), bm_free(), bm_mark(), code_status(), compile_data_alloc(), constant_arg(), constat_parse(), cont_free(), cont_mark(), cont_memsize(), convert_encoding(), convert_UTF8_to_JSON(), deallocate(), dir_free(), dir_mark(), dlcfunc_free(), dlcfunc_mark(), dlcfunc_memsize(), dlhandle_free(), dlptr_free(), dlptr_mark(), dlptr_memsize(), e2s_conv(), econv_free(), enum_sort_by(), enumerator_allocate(), enumerator_init(), enumerator_mark(), enumerator_ptr(), env_free(), env_mark(), env_memsize(), fiber_free(), fiber_mark(), fiber_memsize(), fiddle_handle_free(), fiddle_ptr_free(), fiddle_ptr_mark(), fiddle_ptr_memsize(), find_entry(), flo_to_s(), function_memsize(), generator_allocate(), generator_each(), generator_init(), generator_mark(), generator_ptr(), get_keys(), get_proc_address(), get_rnd(), get_strio(), get_system_directory(), get_thread_errinfo(), get_values(), get_wsa_extension_function(), has_redirection(), id2ref(), initialize(), internal_read_func(), internal_write_func(), internal_write_func2(), iseq_build_from_ary_body(), iseq_build_from_ary_exception(), iseq_free(), iseq_mark(), iseq_memsize(), iseq_set_exception_table(), mark_dump_arg(), mark_exec_arg(), mark_load_arg(), match_backref_number(), match_inspect(), mutex_free(), name_err_mesg_mark(), name_err_mesg_to_str(), name_to_backref_number(), nkf_xmalloc(), nkf_xrealloc(), nogvl_close(), nogvl_fclose(), nogvl_getaddrinfo(), nogvl_getnameinfo(), nogvl_ioctl(), obj_memsize_of(), ossl_asn1_get_asn1type(), ossl_sslctx_session_get_cb(), ossl_sslctx_session_new_cb(), ossl_sslctx_session_remove_cb(), pack_pack(), pack_unpack(), proc_mark(), r_object0(), rb_ary_delete_at(), rb_ary_index(), rb_ary_modify(), rb_ary_replace(), rb_ary_rindex(), rb_ary_rotate(), rb_ary_rotate_m(), rb_ary_shift(), rb_ary_shift_m(), rb_ary_shuffle_bang(), rb_ary_sort_bang(), rb_ary_splice(), rb_ary_times(), rb_big_stop(), rb_dl_free(), rb_dl_malloc(), rb_dl_realloc(), rb_dlhandle_initialize(), rb_dlptr2cptr(), rb_dlptr_initialize(), rb_dlptr_malloc(), rb_dlptr_minus(), rb_dlptr_new2(), rb_dlptr_plus(), rb_dlptr_s_to_ptr(), rb_fiddle_free(), rb_fiddle_handle_initialize(), rb_fiddle_malloc(), rb_fiddle_ptr2cptr(), rb_fiddle_ptr_initialize(), rb_fiddle_ptr_malloc(), rb_fiddle_ptr_minus(), rb_fiddle_ptr_new2(), rb_fiddle_ptr_plus(), rb_fiddle_ptr_s_to_ptr(), rb_fiddle_realloc(), rb_gc_guarded_ptr(), rb_hash_keys(), rb_hash_values(), rb_ivar_lookup(), rb_ivar_set(), rb_name_err_mesg_new(), rb_obj_copy_ivar(), rb_parser_calloc(), rb_parser_malloc(), rb_parser_realloc(), rb_random_bytes(), rb_realpath_internal(), rb_reg_casefold_p(), rb_reg_check(), rb_reg_desc(), rb_reg_equal(), rb_reg_initialize_m(), rb_reg_inspect(), rb_reg_named_captures(), rb_reg_names(), rb_reg_prepare_enc(), rb_reg_regsub(), rb_reg_search(), rb_reg_to_s(), rb_str_drop_bytes(), rb_str_enumerate_chars(), rb_str_enumerate_codepoints(), rb_str_enumerate_lines(), rb_str_quote_unprintable(), rb_str_resize(), rb_str_rindex_m(), rb_str_split_m(), rb_str_sum(), rb_str_symname_p(), rb_str_symname_type(), rb_string_value(), rb_struct_hash(), rb_thread_mark(), rb_vm_mark(), rb_w32_cmdvector(), rb_w32_conv_from_wstr(), rb_w32_mbstr_to_wstr(), rb_w32_write_console(), rb_w32_wstr_to_mbstr(), rb_wait_for_single_fd(), readable(), recursive_eql(), recursive_equal(), reg_named_capture_assign_gen(), rehash(), ruby_atomic_compare_and_swap(), ruby_atomic_exchange(), skipspace(), sock_sockaddr(), ssl_renegotiation_cb(), st_cleanup_safe(), st_clear(), st_copy(), st_delete(), st_delete_safe(), st_foreach(), st_foreach_check(), st_get_key(), st_hash(), st_insert(), st_insert2(), st_lookup(), st_shift(), st_update(), str_make_independent_expand(), strio_alloc(), strio_binmode(), strio_copy(), strio_each_byte(), strio_each_codepoint(), strio_eof(), strio_finalize(), strio_free(), strio_getbyte(), strio_getc(), strio_initialize(), strio_mark(), strio_memsize(), strio_putc(), strio_read(), strio_rewind(), strio_seek(), strio_set_pos(), strio_set_string(), strio_ungetbyte(), strio_ungetc(), strio_write(), strscan_do_scan(), strscan_free(), strscan_mark(), strscan_memsize(), sym_inspect(), sysopen_func(), thread_free(), thread_memsize(), time_mark(), time_mload(), transcode_char_start(), vm_caller_setup_args(), vm_expandarray(), vm_getivar(), vm_memsize(), vm_setivar(), w_objivar(), wmap_aset_update(), wmap_final_func(), wmap_free(), wmap_mark(), wmap_memsize(), writable(), yielder_allocate(), yielder_init(), yielder_mark(), yielder_ptr(), and yielder_yield().

volatile VALUE q_dat

Definition at line 7015 of file tcltklib.c.

return Qfalse

Definition at line 6790 of file tcltklib.c.

Referenced by addrinfo_ip_p(), addrinfo_ipv4_loopback_p(), addrinfo_ipv4_multicast_p(), addrinfo_ipv4_p(), addrinfo_ipv4_private_p(), addrinfo_ipv6_p(), addrinfo_unix_p(), append_method(), argf_binmode_p(), argf_eof(), basic_obj_respond_to(), big_op(), BigDecimal_DoDivmod(), BigDecimal_IsFinite(), BigDecimal_IsNaN(), BigDecimal_mode(), BigDecimal_zero(), BigDecimalCmp(), bigdivrem_restoring(), bind_local_variable_defined_p(), bsock_do_not_rev_lookup(), bsock_do_not_reverse_lookup(), canonical(), check_definition(), check_exec_fds_1(), check_exec_redirect1(), clear_rl_instream(), clear_rl_outstream(), cmp_between(), cmp_eq(), cmp_eq_recursive(), cmp_failed(), cmp_ge(), cmp_gt(), cmp_le(), cmp_lt(), compile_cpath(), console_echo_p(), convert_type(), cParser_quirks_mode_p(), cState_allow_nan_p(), cState_ascii_only_p(), cState_check_circular_p(), cState_quirks_mode_p(), cState_to_h(), d_lite_eql_p(), d_lite_equal(), date_s_valid_civil_p(), date_s_valid_commercial_p(), date_s_valid_jd_p(), date_s_valid_ordinal_p(), decode_bool(), DEFINE_ENUMFUNCS(), defined_expr(), dh_instance(), double_cmp_ge(), double_cmp_gt(), double_cmp_le(), double_cmp_lt(), dsa_instance(), econv_equal(), enc_ascii_compatible_p(), enc_dummy_p(), enum_any(), enum_member(), enum_one(), enumerable_lazy(), enumerator_init(), enumerator_rewind(), env_empty_p(), env_has_key(), env_has_value(), eql_i(), EVENTSINK_Invoke(), exc_equal(), exit_initialize(), exit_status_code(), exit_success_p(), extract_user_token(), f_minus_one_p(), f_odd_p(), f_one_p(), f_zero_p(), false_and(), false_or(), false_value(), false_xor(), fdbm_closed(), fdbm_empty_p(), fdbm_has_key(), fdbm_has_value(), fev_on_event(), fgdbm_closed(), fgdbm_empty_p(), fgdbm_has_key(), fgdbm_has_value(), fgdbm_set_syncmode(), file_s_fnmatch(), fix_equal(), fix_even_p(), fix_ge(), fix_gt(), fix_le(), fix_lt(), fix_odd_p(), fix_zero_p(), flo_eq(), flo_eql(), flo_ge(), flo_gt(), flo_is_finite_p(), flo_is_nan_p(), flo_le(), flo_lt(), flo_zero_p(), fole_respond_to(), folemethod_event(), foletype_initialize(), foletypelib_initialize(), foletypelib_visible(), fsdbm_closed(), fsdbm_empty_p(), fsdbm_has_key(), fsdbm_has_value(), gc_info_decode(), gc_profile_enable_get(), gc_profile_record_get(), gc_stress_set(), generate_json(), generic_ivar_defined(), hash_equal(), hist_empty_p(), id2encidx(), id2ref(), if(), ignorecase_getter(), Init_Exception(), Init_fiddle(), Init_Object(), Init_openssl(), Init_ossl_pkcs12(), Init_ossl_pkcs7(), Init_ossl_ssl(), Init_ossl_x509ext(), Init_ossl_x509store(), int_even_p(), int_odd_p(), int_ossl_asn1_decode0_cons(), io_puts_ary(), io_read_nonblock(), io_ready_p(), io_wait_readable(), is_all_index_under(), is_one(), is_zero(), iseq_compile_each(), iseq_s_compile_file(), JSON_parse_value(), lazy_set_method(), load_encoding(), load_lock(), make_compile_option(), make_econv_exception(), match_equal(), method_eq(), mnew_from_me(), mSyslog_isopen(), name_err_mesg_equal(), name_err_mesg_to_str(), nucomp_eql_p(), nucomp_false(), num_eql(), num_int_p(), num_zero_p(), nurat_eqeq_p(), obj_respond_to(), obj_respond_to_missing(), ole_method_event(), ole_method_visible(), ole_param_flag_mask(), ole_type_visible(), ole_variable_visible(), ole_variant2val(), oleclass_from_typelib(), oletypelib_search_registry(), oletypelib_search_registry2(), opt_eq_func(), opt_W_getter(), ossl_asn1_decode0(), ossl_asn1_initialize(), ossl_asn1data_initialize(), ossl_asn1eoc_initialize(), ossl_bn_eql(), ossl_bn_is_bit_set(), ossl_bn_is_prime(), ossl_bn_is_prime_fasttest(), ossl_bn_s_generate_prime(), ossl_call_client_cert_cb(), ossl_call_tmp_dh_callback(), ossl_dh_check_params(), ossl_dh_is_private(), ossl_dh_is_public(), ossl_dh_new(), ossl_dh_s_generate(), ossl_dh_to_public_key(), ossl_dsa_is_private(), ossl_dsa_is_public(), ossl_dsa_new(), ossl_dsa_s_generate(), ossl_dsa_to_public_key(), ossl_dsa_verify(), ossl_pem_passwd_cb(), ossl_pkcs7_detached_p(), ossl_pkcs7_get_detached(), ossl_pkcs7_set_detached(), ossl_pkcs7_verify(), ossl_pkey_verify(), ossl_rand_status(), ossl_rsa_is_private(), ossl_rsa_new(), ossl_rsa_s_generate(), ossl_rsa_to_public_key(), ossl_spki_verify(), ossl_ssl_initialize(), ossl_ssl_read_internal(), ossl_ssl_session_eq(), ossl_ssl_session_reused(), ossl_ssl_write_nonblock(), ossl_sslctx_session_add(), ossl_sslctx_session_remove(), ossl_verify_cb(), ossl_x509_check_private_key(), ossl_x509_verify(), ossl_x509crl_verify(), ossl_x509ext_get_critical(), ossl_x509extfactory_create_ext(), ossl_x509name_eql(), ossl_x509req_verify(), ossl_x509stctx_verify(), p_gid_exchangeable(), p_gid_have_saved_id(), p_uid_exchangeable(), p_uid_have_saved_id(), parse(), parse_ddd_cb(), parse_main(), parser_initialize(), path_eq(), pipe_open(), prepare_iseq_build(), proc_options(), process_options(), pst_success_p(), pst_wcoredump(), pst_wifexited(), pst_wifsignaled(), pst_wifstopped(), queue_pop_should_block(), r_le(), r_lt(), r_object0(), rand_random(), rand_range(), random_equal(), range_cover(), range_each(), range_each_func(), range_eq(), range_eql(), range_exclude_end_p(), range_include(), range_step(), range_values(), rb_add_method(), rb_ary_aref(), rb_ary_bsearch(), rb_ary_empty_p(), rb_ary_eql(), rb_ary_equal(), rb_ary_frozen_p(), rb_ary_includes(), rb_ary_index(), rb_ary_rindex(), rb_ary_shared_with_p(), rb_autoload_load(), rb_big_eq(), rb_big_eql(), rb_big_even_p(), rb_big_odd_p(), rb_class_inherited_p(), rb_const_defined_0(), rb_cvar_defined(), rb_digest_instance_equal(), rb_dlhandle_close_enabled_p(), rb_dlptr_eql(), rb_dlptr_null_p(), rb_equal(), rb_execarg_addopt(), rb_execarg_fixup(), rb_execarg_run_options(), rb_execarg_setenv(), rb_f_block_given_p(), rb_f_rand(), rb_f_system(), rb_f_test(), rb_false(), rb_fiber_alive_p(), rb_fiddle_handle_close_enabled_p(), rb_fiddle_ptr_eql(), rb_fiddle_ptr_null_p(), rb_file_blockdev_p(), rb_file_chardev_p(), rb_file_directory_p(), rb_file_executable_p(), rb_file_executable_real_p(), rb_file_exist_p(), rb_file_file_p(), rb_file_flock(), rb_file_grpowned_p(), rb_file_identical_p(), rb_file_owned_p(), rb_file_pipe_p(), rb_file_readable_p(), rb_file_readable_real_p(), rb_file_rowned_p(), rb_file_sgid_p(), rb_file_socket_p(), rb_file_suid_p(), rb_file_symlink_p(), rb_file_writable_p(), rb_file_writable_real_p(), rb_file_zero_p(), rb_gc_disable(), rb_gc_enable(), rb_gvar_defined(), rb_gzfile_closed_p(), rb_gzfile_eof_p(), rb_gzfile_sync(), rb_hash_compare_by_id_p(), rb_hash_empty_p(), rb_hash_has_key(), rb_hash_has_value(), rb_inflate_sync_point_p(), rb_integer_float_eq(), rb_integer_unpack(), rb_io_autoclose_p(), rb_io_binmode_p(), rb_io_closed(), rb_io_eof(), rb_io_initialize(), rb_io_isatty(), rb_io_sync(), rb_io_write_nonblock(), rb_iseq_compile_with_option(), rb_iseq_line_trace_specify(), rb_iseq_new_with_opt(), rb_ivar_defined(), rb_load_internal0(), rb_mod_attr(), rb_mod_const_defined(), rb_mod_cvar_defined(), rb_mod_gt(), rb_mod_include_p(), rb_mod_lt(), rb_mod_method_defined(), rb_mod_singleton_p(), rb_mutex_abandon_locking_mutex(), rb_mutex_lock(), rb_mutex_locked_p(), rb_mutex_owned_p(), rb_mutex_trylock(), rb_obj_equal(), rb_obj_frozen_p(), rb_obj_is_fiber(), rb_obj_is_instance_of(), rb_obj_is_kind_of(), rb_obj_is_method(), rb_obj_is_mutex(), rb_obj_is_proc(), rb_obj_is_thread(), rb_obj_ivar_defined(), rb_obj_not(), rb_obj_not_equal(), rb_obj_not_match(), rb_obj_rgengc_promoted_p(), rb_obj_rgengc_writebarrier_protected_p(), rb_obj_tainted(), rb_parser_end_seen_p(), rb_parser_get_yydebug(), rb_proc_exec(), rb_proc_lambda_p(), rb_profile_frame_singleton_method_p(), rb_queue_empty_p(), rb_range_beg_len(), rb_range_values(), rb_reg_casefold_p(), rb_reg_eqq(), rb_reg_equal(), rb_reg_fixed_encoding_p(), rb_reg_nth_defined(), rb_reg_to_s(), rb_require_safe(), rb_rescue2(), rb_reset_coverages(), rb_stat_b(), rb_stat_c(), rb_stat_d(), rb_stat_f(), rb_stat_grpowned(), rb_stat_l(), rb_stat_owned(), rb_stat_p(), rb_stat_r(), rb_stat_R(), rb_stat_rowned(), rb_stat_S(), rb_stat_sgid(), rb_stat_sticky(), rb_stat_suid(), rb_stat_w(), rb_stat_W(), rb_stat_x(), rb_stat_X(), rb_stat_z(), rb_str_aref(), rb_str_associated(), rb_str_empty(), rb_str_end_with(), rb_str_eql(), rb_str_equal(), rb_str_include(), rb_str_is_ascii_only_p(), rb_str_start_with(), rb_str_valid_encoding_p(), rb_struct_eql(), rb_struct_equal(), rb_thread_abort_exc(), rb_thread_alive_p(), rb_thread_key_p(), rb_thread_pending_interrupt_p(), rb_thread_s_abort_exc(), rb_thread_shield_destroy(), rb_thread_shield_release(), rb_thread_shield_wait(), rb_thread_status(), rb_thread_stop_p(), rb_thread_variable_p(), rb_to_float(), rb_tracepoint_enabled_p(), rb_zstream_closed_p(), rb_zstream_finished_p(), recursive_check(), recursive_eql(), recursive_equal(), rsa_instance(), rsock_revlookup_flag(), ruby_executable_node(), s3e(), save_env(), save_redirect_fd(), setup_args(), setup_narg(), sockopt_bool(), sockopt_linger(), special_singleton_class_of(), str_byte_aref(), str_eql(), strio_closed(), strio_closed_read(), strio_closed_write(), strio_eof(), strio_false(), strio_read_nonblock(), strscan_bol_p(), strscan_eos_p(), strscan_matched_p(), strscan_rest_p(), switch(), sym_equal(), sym_to_proc(), syserr_eqq(), Tcl_GetCommandInfo(), tcl_protect_core(), thgroup_enclosed_p(), thread_cleanup_func(), thread_create_core(), thread_free(), thread_join_sleep(), thread_start_func_2(), time_eql(), time_isdst(), time_to_a(), time_utc_p(), tracepoint_disable_m(), tracepoint_enable_m(), true_and(), true_xor(), udp_connect_internal(), vm_backtrace_to_ary(), w_encoding(), w_object(), wmap_has_key(), and zstream_sync().

return Qnil
Initial value:
{
static VALUE eventloop_thread
Definition: tcltklib.c:475
#define Qnil
Definition: enum.c:67

Definition at line 1374 of file tcltklib.c.

return Qtrue

Definition at line 9618 of file tcltklib.c.

Referenced by addrinfo_ip_p(), addrinfo_ipv4_loopback_p(), addrinfo_ipv4_multicast_p(), addrinfo_ipv4_p(), addrinfo_ipv4_private_p(), addrinfo_ipv6_p(), addrinfo_unix_p(), argf_binmode_p(), argf_eof(), asn1integer_to_num(), basic_obj_respond_to(), big_op(), BigDecimal_DoDivmod(), BigDecimal_IsFinite(), BigDecimal_IsNaN(), BigDecimal_mode(), BigDecimal_zero(), BigDecimalCmp(), bigdivrem_restoring(), bind_local_variable_defined_p(), bsock_do_not_rev_lookup(), bsock_do_not_reverse_lookup(), canonical(), check_definition(), check_exec_fds(), check_exec_fds_1(), check_funcall_respond_to(), cleanup_iseq_build(), cmp_between(), cmp_eq(), cmp_equal(), cmp_ge(), cmp_gt(), cmp_le(), cmp_lt(), compile_cpath(), console_echo_p(), convert_type(), cParser_quirks_mode_p(), cState_allow_nan_p(), cState_ascii_only_p(), cState_check_circular_p(), cState_quirks_mode_p(), cState_to_h(), d_lite_equal(), date_s__parse_internal(), date_s_parse(), date_s_valid_civil_p(), date_s_valid_commercial_p(), date_s_valid_jd_p(), date_s_valid_ordinal_p(), datetime_s_parse(), decode_bool(), DEFINE_ENUMFUNCS(), defined_expr(), double_cmp_ge(), double_cmp_gt(), double_cmp_le(), double_cmp_lt(), DupPrivPKeyPtr(), econv_equal(), enc_ascii_compatible_p(), enc_dummy_p(), enum_all(), enum_none(), env_empty_p(), env_has_key(), env_has_value(), EVENTSINK_Invoke(), exc_equal(), exit_initialize(), exit_status_code(), exit_success_p(), f_odd_p(), false_or(), false_xor(), fdbm_closed(), fdbm_empty_p(), fdbm_has_key(), fdbm_has_value(), fev_on_event_with_outargs(), fgdbm_closed(), fgdbm_empty_p(), fgdbm_has_key(), fgdbm_has_value(), fgdbm_set_syncmode(), file_s_fnmatch(), finish_writeconv(), fix_equal(), fix_even_p(), fix_ge(), fix_gt(), fix_le(), fix_lt(), fix_odd_p(), fix_zero_p(), flatten(), flo_eq(), flo_eql(), flo_ge(), flo_gt(), flo_is_finite_p(), flo_is_nan_p(), flo_le(), flo_lt(), flo_zero_p(), fole_respond_to(), folemethod_event_interface(), foletypelib_initialize(), foletypelib_visible(), fptr_finalize(), fsdbm_closed(), fsdbm_empty_p(), fsdbm_has_key(), fsdbm_has_value(), gc_info_decode(), gc_profile_enable_get(), gc_profile_record_get(), gc_stress_set(), generate_json(), generic_ivar_defined(), GetPrivPKeyPtr(), goruby_run_node(), hash_equal(), hist_empty_p(), id2encidx(), id2ref(), if(), Init_fiddle(), Init_Object(), Init_openssl(), Init_ossl_asn1(), initialize(), int_even_p(), int_int_p(), int_odd_p(), int_ossl_asn1_decode0_cons(), io_puts_ary(), io_ready_p(), io_wait_readable(), is_all_index_under(), iseq_compile_each(), JSON_parse_value(), make_compile_option(), make_econv_exception(), match_equal(), method_eq(), mnew_from_me(), mSyslog_isopen(), name_err_mesg_equal(), name_err_mesg_to_str(), num_equal(), num_real_p(), num_zero_p(), nurat_eqeq_p(), obj_respond_to(), ole_method_event(), ole_method_visible(), ole_param_flag_mask(), ole_set_safe_array(), ole_type_visible(), ole_variable_visible(), ole_variant2val(), oleclass_from_typelib(), oletypelib_search_registry(), oletypelib_search_registry2(), opt_eq_func(), opt_W_getter(), ossl_asn1_decode0(), ossl_asn1cons_to_der(), ossl_asn1data_to_der(), ossl_asn1obj_s_register(), ossl_bn_eql(), ossl_bn_is_bit_set(), ossl_bn_is_prime(), ossl_bn_is_prime_fasttest(), ossl_bn_to_i(), ossl_call_client_cert_cb(), ossl_call_tmp_dh_callback(), ossl_debug(), ossl_debug_set(), ossl_dh_check_params(), ossl_dh_is_private(), ossl_dh_is_public(), ossl_dsa_is_private(), ossl_dsa_is_public(), ossl_dsa_verify(), ossl_make_error(), ossl_pem_passwd_cb(), ossl_pkcs7_detached_p(), ossl_pkcs7_get_detached(), ossl_pkcs7_set_detached(), ossl_pkcs7_verify(), ossl_pkey_sign(), ossl_pkey_verify(), ossl_rand_egd(), ossl_rand_egd_bytes(), ossl_rand_load_file(), ossl_rand_status(), ossl_rand_write_file(), ossl_rsa_is_private(), ossl_rsa_is_public(), ossl_spki_verify(), ossl_ssl_session_eq(), ossl_ssl_session_reused(), ossl_ssl_setup(), ossl_sslctx_session_add(), ossl_sslctx_session_remove(), ossl_sslctx_setup(), ossl_verify_cb(), ossl_x509_check_private_key(), ossl_x509_verify(), ossl_x509crl_verify(), ossl_x509ext_get_critical(), ossl_x509name_eql(), ossl_x509req_verify(), ossl_x509stctx_verify(), p_gid_exchangeable(), p_gid_have_saved_id(), p_uid_exchangeable(), p_uid_have_saved_id(), parse(), parse_bc_cb(), parser_nextc(), parser_yylex(), prepare_iseq_build(), proc_options(), process_options(), process_sflag(), pst_equal(), pst_success_p(), pst_wcoredump(), pst_wifexited(), pst_wifsignaled(), pst_wifstopped(), queue_pop_should_block(), r_le(), r_lt(), r_object0(), random_equal(), range_cover(), range_each(), range_eq(), range_eql(), range_exclude_end_p(), range_include(), range_step(), rb_ary_bsearch(), rb_ary_empty_p(), rb_ary_eql(), rb_ary_equal(), rb_ary_frozen_p(), rb_ary_includes(), rb_ary_index(), rb_ary_rindex(), rb_ary_shared_with_p(), rb_ary_slice_bang(), rb_big_eq(), rb_big_eql(), rb_big_even_p(), rb_big_odd_p(), rb_big_stop(), rb_class_inherited_p(), rb_const_defined_0(), rb_cvar_defined(), rb_digest_instance_equal(), rb_dlhandle_close_enabled_p(), rb_dlptr_eql(), rb_dlptr_null_p(), rb_equal(), rb_execarg_addopt(), rb_f_block_given_p(), rb_f_load(), rb_f_system(), rb_f_test(), rb_fiber_alive_p(), rb_fiddle_handle_close_enabled_p(), rb_fiddle_ptr_eql(), rb_fiddle_ptr_null_p(), rb_file_blockdev_p(), rb_file_chardev_p(), rb_file_directory_p(), rb_file_executable_p(), rb_file_executable_real_p(), rb_file_exist_p(), rb_file_file_p(), rb_file_grpowned_p(), rb_file_identical_p(), rb_file_owned_p(), rb_file_pipe_p(), rb_file_readable_p(), rb_file_readable_real_p(), rb_file_rowned_p(), rb_file_socket_p(), rb_file_symlink_p(), rb_file_writable_p(), rb_file_writable_real_p(), rb_file_zero_p(), rb_gc_disable(), rb_gc_enable(), rb_get_expanded_load_path(), rb_gvar_defined(), rb_gzfile_closed_p(), rb_gzfile_eof_p(), rb_gzfile_sync(), rb_hash_compare_by_id_p(), rb_hash_empty_p(), rb_hash_has_key(), rb_hash_search_value(), rb_inflate_sync_point_p(), rb_integer_float_eq(), rb_io_autoclose_p(), rb_io_binmode_p(), rb_io_closed(), rb_io_eof(), rb_io_isatty(), rb_io_sync(), rb_iseq_line_trace_specify(), rb_ivar_defined(), rb_mod_attr(), rb_mod_class_variables(), rb_mod_const_defined(), rb_mod_const_get(), rb_mod_constants(), rb_mod_include_p(), rb_mod_method_defined(), rb_mod_singleton_p(), rb_mutex_locked_p(), rb_mutex_owned_p(), rb_mutex_trylock(), rb_obj_equal(), rb_obj_freeze(), rb_obj_frozen_p(), rb_obj_is_fiber(), rb_obj_is_instance_of(), rb_obj_is_kind_of(), rb_obj_is_method(), rb_obj_is_mutex(), rb_obj_is_proc(), rb_obj_is_thread(), rb_obj_not(), rb_obj_not_equal(), rb_obj_not_match(), rb_obj_respond_to(), rb_obj_rgengc_promoted_p(), rb_obj_rgengc_writebarrier_protected_p(), rb_obj_singleton_methods(), rb_obj_tainted(), rb_parser_end_seen_p(), rb_parser_get_yydebug(), rb_proc_lambda_p(), rb_profile_frame_qualified_method_name(), rb_profile_frame_singleton_method_p(), rb_queue_empty_p(), rb_range_beg_len(), rb_range_values(), rb_reg_casefold_p(), rb_reg_eqq(), rb_reg_equal(), rb_reg_fixed_encoding_p(), rb_reg_nth_defined(), rb_require_safe(), rb_stat_b(), rb_stat_c(), rb_stat_d(), rb_stat_f(), rb_stat_grpowned(), rb_stat_l(), rb_stat_owned(), rb_stat_p(), rb_stat_r(), rb_stat_R(), rb_stat_rowned(), rb_stat_S(), rb_stat_sgid(), rb_stat_sticky(), rb_stat_suid(), rb_stat_w(), rb_stat_W(), rb_stat_x(), rb_stat_X(), rb_stat_z(), rb_str_empty(), rb_str_end_with(), rb_str_eql(), rb_str_equal(), rb_str_include(), rb_str_is_ascii_only_p(), rb_str_start_with(), rb_str_valid_encoding_p(), rb_struct_eql(), rb_struct_equal(), rb_thread_abort_exc(), rb_thread_alive_p(), rb_thread_key_p(), rb_thread_pending_interrupt_p(), rb_thread_s_abort_exc(), rb_thread_shield_destroy(), rb_thread_shield_release(), rb_thread_shield_wait(), rb_thread_stop_p(), rb_thread_variable_p(), rb_to_float(), rb_tracepoint_enabled_p(), rb_true(), rb_zstream_closed_p(), rb_zstream_finished_p(), recursive_check(), recursive_eql(), recursive_equal(), recursive_push(), rsock_revlookup_flag(), ruby_executable_node(), s3e(), set_canonical(), setup_narg(), sockopt_bool(), sockopt_linger(), special_singleton_class_of(), str_eql(), strio_closed(), strio_closed_read(), strio_closed_write(), strio_eof(), strio_get_sync(), strscan_bol_p(), strscan_eos_p(), strscan_matched_p(), strscan_rest_p(), switch(), sym_equal(), syserr_eqq(), tcl_protect_core(), thgroup_enclosed_p(), thread_join_sleep(), time_isdst(), time_to_a(), time_utc_p(), tr_setup_table(), tr_trans(), tracepoint_disable_m(), tracepoint_enable_m(), trap(), trap_handler(), true_and(), true_or(), true_value(), true_xor(), udp_connect_internal(), verbose_setter(), w_encoding(), w_object(), wmap_has_key(), and zstream_sync().

rb_debug_bup = ruby_debug

Definition at line 5667 of file tcltklib.c.

Referenced by if(), and Tcl_GetCommandInfo().

rb_thread_critical = thr_crit_bup

Definition at line 1606 of file tcltklib.c.

Referenced by if(), switch(), and tcl_protect_core().

rb_verbose_bup = ruby_verbose

Definition at line 5667 of file tcltklib.c.

Referenced by if(), and Tcl_GetCommandInfo().

int rbtk_eventloop_depth = 0
static

Definition at line 1380 of file tcltklib.c.

Referenced by for(), if(), pending_exception_check0(), and while().

rbtk_internal_eventloop_handler = 0
static

Definition at line 1381 of file tcltklib.c.

Referenced by if(), and pending_exception_check0().

rbtk_pending_exception = Qnil
static

Definition at line 1379 of file tcltklib.c.

Referenced by for(), if(), Init_tcltklib(), pending_exception_check0(), switch(), and tcl_protect_core().

return receiver = rb_gv_get(buf)

Definition at line 3568 of file tcltklib.c.

Referenced by lazy_drop_size(), and lazy_take_size().

slave ref_count = 0

Definition at line 6183 of file tcltklib.c.

int req_timer_tick = DEFAULT_TIMER_TICK
static

Definition at line 536 of file tcltklib.c.

Referenced by for().

result = (VALUE)NULL

Definition at line 7076 of file tcltklib.c.

return ret
Initial value:
{
char *buf = strdup(cmd)
unsigned char buf[MIME_BUF_SIZE]
Definition: nkf.c:4308
#define strdup(s)
Definition: util.h:67
const char * cmd
Definition: tcltklib.c:283

Definition at line 285 of file tcltklib.c.

Referenced by addrinfo_firstonly_new(), addrinfo_inspect(), addrinfo_ip_address(), addrinfo_ip_unpack(), addrinfo_list_new(), addrinfo_s_ip(), addrinfo_to_sockaddr(), BigDecimal_save_exception_mode(), BigDecimal_save_limit(), BigDecimal_save_rounding_mode(), BigDecimal_to_i(), bmcall(), BSD_vfprintf(), call_asynchronous(), callback(), check_if_dir(), cloexec_accept(), coderange_scan(), compare_posix_sh(), constant_arg(), date_s_civil(), date_s_commercial(), date_s_jd(), date_s_ordinal(), date_s_today(), datetime_s_civil(), datetime_s_commercial(), datetime_s_jd(), datetime_s_now(), datetime_s_ordinal(), decode_bstr(), decode_enum(), decode_int(), decode_obj(), decode_time(), do_stat(), dupfd(), econv_convert(), econv_finish(), econv_get_replacement(), econv_insert_output(), econv_set_replacement(), enc_succ_alnum_char(), fcntl(), fd_set_cloexec(), fdbm_delete_if(), fgdbm_delete_if(), fsdbm_delete_if(), get_volume_serial_number(), getifaddrs(), goruby_options(), h_conv(), hash2result(), Init_tcltklib(), initialize(), integer_pack_take_lowbits(), invoke_block_from_c(), io_flush_buffer_async2(), io_read_nonblock(), io_readpartial(), is_console(), is_pipe(), is_readable_console(), is_readable_pipe(), iseq_s_of(), kill(), link(), make_inspectname(), maygvl_copy_stream_wait_read(), new_child_iseq(), nogvl_copy_stream_func(), nogvl_copy_stream_read_write(), nogvl_copy_stream_wait_write(), nogvl_getaddrinfo(), ole_param_flag_mask(), ole_search_event_at(), onigenc_mbclen_approximate(), ossl_asn1_decode(), ossl_asn1_get_asn1type(), ossl_asn1_is_explicit(), ossl_asn1_tag_class(), ossl_asn1obj_get_ln(), ossl_asn1obj_get_sn(), ossl_cipher_new(), ossl_digest_new(), ossl_dsa_verify(), ossl_membio2str(), ossl_membio2str0(), ossl_pkcs7_s_encrypt(), ossl_pkcs7_s_read_smime(), ossl_pkcs7_s_sign(), ossl_pkcs7_sym2typeid(), ossl_protect_obj2bio(), ossl_ssl_get_state(), ossl_start_ssl(), ossl_verify_cb(), ossl_x509attr_get_oid(), ossl_x509crl_verify(), ossl_x509ext_get_oid(), ossl_x509ext_get_value(), ossl_x509name_to_a(), output_hex_charref(), output_replacement_character(), overlapped_socket_io(), parse_comp(), quo(), rand_int(), rb_apply(), rb_chsize(), rb_clock_gettime(), rb_cloexec_dup2(), rb_cloexec_fcntl_dupfd(), rb_cloexec_open(), rb_cloexec_pipe(), rb_dlhandle_close(), rb_econv_convert(), rb_econv_init_by_convpath(), rb_econv_init_by_convpath_i(), rb_econv_open_by_transcoder_entries(), rb_econv_open_opts(), rb_enc_strlen_cr(), rb_exec(), rb_exec_without_timer_thread(), rb_execarg_init(), rb_f_p_internal(), rb_f_system(), rb_fiddle_handle_close(), rb_file_load_ok(), rb_getaddrinfo(), rb_getnameinfo(), rb_hash_dup(), rb_hash_dup_empty(), rb_hash_to_h(), rb_insn_operand_intern(), rb_io_s_pipe(), rb_iseq_compile_node(), rb_maygvl_fd_fix_cloexec(), rb_pipe(), rb_proc_exec(), rb_proc_exec_n(), rb_reg_initialize_str(), rb_spawn_internal(), rb_str_coderange_scan_restartable(), rb_str_conv_enc_opts(), rb_str_ellipsize(), rb_str_scrub(), rb_str_to_dbl(), rb_str_to_inum(), rb_thread_flock(), rb_w32_dup2(), rb_w32_fdisset(), rb_w32_fstat(), rb_w32_fstati64(), rb_w32_mkdir(), rb_w32_open(), rb_w32_opendir(), rb_w32_pipe(), rb_w32_read(), rb_w32_rename(), rb_w32_rmdir(), rb_w32_truncate(), rb_w32_uchdir(), rb_w32_uchmod(), rb_w32_ulink(), rb_w32_umkdir(), rb_w32_unlink(), rb_w32_uopen(), rb_w32_uopendir(), rb_w32_urename(), rb_w32_urmdir(), rb_w32_utime(), rb_w32_uunlink(), rb_w32_uutime(), rb_w32_write(), reachable_objects_from(), read_digits(), realpath_rec(), recvfrom_blocking(), recvmsg(), remove_event_hook(), rsock_fd_socket_addrinfo(), rsock_inspect_sockaddr(), rsock_socket0(), ruby_dtoa(), ruby_scan_digits(), ruby_snprintf(), ruby_strtod(), ruby_strtoul(), ruby_vsnprintf(), run_exec_close(), run_exec_dup2(), run_exec_dup2_child(), run_exec_open(), s_iconv(), sendmsg(), setfl(), sip_hash_final(), sock_s_getaddrinfo(), socketpair_internal(), socklist_delete(), socklist_lookup(), sockopt_inspect(), stack_check(), strscan_do_scan(), subexp_inf_recursive_check(), subexp_recursive_check_trav(), tcl_protect_core(), tcltklib_compile_info(), time_to_date(), time_to_datetime(), timegmw_noleapsecond(), transcode_loop(), u8to64_le(), udp_connect(), unicode_iconv(), unicode_to_jis_common(), validate_label(), vm_call0_body(), w16e_conv(), w2e_conv(), w32_aspawn_flags(), w32_spawn(), w32_stati64(), w_iconv(), w_iconv_nocombine(), wait_connectable(), waitpid(), weeknumber(), wmkdir(), wquo(), wrmdir(), wstati64(), wunlink(), wutime(), x0212_shift(), x0212_unshift(), yaml_document_add_mapping(), yaml_document_add_scalar(), yaml_document_add_sequence(), and zone_str_update().

return retry = 0
return

Definition at line 2547 of file tcltklib.c.

ptr return_value = 0

Definition at line 6185 of file tcltklib.c.

VALUE retval
ruby_debug = rb_debug_bup
ruby_verbose = rb_verbose_bup
run_timer_flag = 0
static

Definition at line 537 of file tcltklib.c.

int safe
ivq safe_level = rb_safe_level()

Definition at line 7198 of file tcltklib.c.

Referenced by safe_setter().

VALUE safemode = argv[1]

Definition at line 6416 of file tcltklib.c.

static VALUE VALUE self
static
Initial value:
{
if (RTEST(mode)) {
} else {
window_event_mode = ~TCL_WINDOW_EVENTS;
}
return mode
static int window_event_mode
Definition: tcltklib.c:481
#define RTEST(v)
VALUE mode
Definition: tcltklib.c:1668

Definition at line 774 of file tcltklib.c.

Referenced by strscan_init_copy().

struct tcltkip * slave
Initial value:
{
static int int thr_crit_bup
Definition: tcltklib.c:1420

Definition at line 5580 of file tcltklib.c.

Referenced by chfunc(), and establishShell().

char* slave_list

Definition at line 5585 of file tcltklib.c.

slave_name = objv[1]

Definition at line 5586 of file tcltklib.c.

VALUE src

Definition at line 6164 of file tcltklib.c.

int state
Initial value:
{
volatile VALUE klass = rb_cObject
RUBY_EXTERN VALUE rb_cObject
Definition: ripper.y:1561
klass
Definition: tcltklib.c:3496
unsigned long VALUE
Definition: ripper.y:88

Definition at line 1466 of file tcltklib.c.

return status
volatile VALUE str = argv[1]
static

Definition at line 3539 of file tcltklib.c.

Referenced by add_id(), allocate_converted_string(), append_method(), appendline(), argf_getpartial(), argf_next_argv(), argf_read(), backtrace_dump_data(), backtrace_load_data(), BigDecimal_split(), BigDecimal_to_f(), BigDecimal_to_s(), bubblebabble_str_new(), cannot_be_coerced_into_BigDecimal(), check_setter_id(), compile_err_append(), compile_snprintf(), compile_warn_print(), constant_arg(), copy_stream_body(), date_s__strptime_internal(), date_s_httpdate(), date_s_iso8601(), date_s_jisx0301(), date_s_parse(), date_s_rfc2822(), date_s_rfc3339(), date_s_strptime(), date_s_xmlschema(), date_strftime_internal(), date_zone_to_diff(), datetime_s_httpdate(), datetime_s_iso8601(), datetime_s_jisx0301(), datetime_s_parse(), datetime_s_rfc2822(), datetime_s_rfc3339(), datetime_s_strptime(), datetime_s_xmlschema(), defined_expr(), dir_globs(), dir_inspect(), dir_s_glob(), do_writeconv(), dump_disasm_list(), econv_inspect(), econv_putback(), enc_load(), enc_names_i(), env_inspect(), env_key(), env_str_new(), exc_inspect(), fstr_update_callback(), gc_profile_result(), GetConfigPtr(), gzfile_error_inspect(), gzfile_newstr(), gzfile_read_more(), gzfile_read_raw_ensure(), gzfile_read_raw_partial(), gzfile_read_raw_rescue(), gzfile_read_raw_until_zero(), gzfile_reader_get_unused(), gzfile_write_raw(), gzreader_skip_linebreaks(), hexencode_str_new(), hist_push_method(), id_to_name(), infect(), insn_data_to_s_detail(), inspect1(), inspect2(), inspect_ary(), inspect_enumerator(), inspect_hash(), inspect_i(), inspect_obj(), inspect_range(), inspect_struct(), io_binwrite(), io_enc_str(), io_getc(), io_getpartial(), io_read(), io_reader(), io_s_foreach(), io_shift_cbuf(), iseq_compile_each(), iseq_setup(), join_der(), make_inspect(), match_array(), match_at(), match_equal(), match_hash(), match_inspect(), match_to_s(), method_inspect(), mime_putc(), name_err_mesg_load(), obj_to_asn1derstr(), obj_to_asn1str(), oldbt_print_to(), ole_alloc_vstr(), ole_typedesc2val(), onig_match(), onig_search_gpos(), option_to_str(), ossl_asn1cons_to_der(), ossl_asn1prim_to_der(), ossl_bn_initialize(), ossl_bn_to_s(), ossl_buf2str(), ossl_cipher_final(), ossl_cipher_update(), ossl_dh_compute_key(), ossl_dh_export(), ossl_dh_to_der(), ossl_dh_to_text(), ossl_digest_finish(), ossl_dsa_export(), ossl_dsa_sign(), ossl_dsa_to_der(), ossl_dsa_to_text(), ossl_make_error(), ossl_pkcs12_to_der(), ossl_pkcs7_decrypt(), ossl_pkcs7_s_write_smime(), ossl_pkcs7_to_der(), ossl_pkcs7_to_pem(), ossl_pkey_sign(), ossl_rand_bytes(), ossl_rand_pseudo_bytes(), ossl_rand_seed(), ossl_rsa_export(), ossl_rsa_private_decrypt(), ossl_rsa_private_encrypt(), ossl_rsa_public_decrypt(), ossl_rsa_public_encrypt(), ossl_rsa_to_der(), ossl_rsa_to_text(), ossl_spki_print(), ossl_spki_set_challenge(), ossl_spki_to_der(), ossl_spki_to_pem(), ossl_ssl_read_internal(), ossl_ssl_session_to_der(), ossl_ssl_session_to_pem(), ossl_ssl_session_to_text(), ossl_ssl_write_nonblock(), ossl_sslctx_set_ciphers(), ossl_x509_get_signature_algorithm(), ossl_x509_inspect(), ossl_x509_to_der(), ossl_x509_to_pem(), ossl_x509_to_text(), ossl_x509attr_get_value(), ossl_x509attr_to_der(), ossl_x509crl_get_signature_algorithm(), ossl_x509crl_to_der(), ossl_x509crl_to_pem(), ossl_x509crl_to_text(), ossl_x509ext_to_der(), ossl_x509name_to_der(), ossl_x509name_to_s(), ossl_x509name_to_s_old(), ossl_x509req_get_signature_algorithm(), ossl_x509req_to_der(), ossl_x509req_to_pem(), ossl_x509req_to_text(), parser_magic_comment(), parser_str_new(), path_basename(), path_dirname(), path_entries(), path_expand_path(), path_extname(), path_fnmatch(), path_initialize(), path_inspect(), path_mkdir(), path_readlink(), path_realdirpath(), path_realpath(), path_s_getwd(), path_split(), path_sub(), path_sub_ext(), path_unlink(), proc_exec_sh(), proc_to_s(), pruby_cstr_to_var(), pruby_str_to_var(), pst_inspect(), pst_to_s(), r_byte1_buffered(), r_bytes0(), r_bytes1(), r_bytes1_buffered(), r_object0(), range_to_s(), rb_any_to_s(), rb_big2str0(), rb_check_string_type(), rb_compile_error(), rb_compile_error_append(), rb_compile_error_with_enc(), rb_cstr_to_inum(), rb_digest_base_finish(), rb_digest_class_s_digest(), rb_digest_instance_digest(), rb_digest_instance_hexdigest(), rb_digest_instance_inspect(), rb_dlptr_s_to_ptr(), rb_econv_insert_output(), rb_enc_aliases_enc_i(), rb_enc_cr_str_buf_cat(), rb_enc_name_list_i(), rb_enc_str_new(), rb_enc_uint_chr(), rb_external_str_new_with_enc(), rb_external_str_with_enc(), rb_f_chomp(), rb_f_chop(), rb_f_getenv(), rb_f_gsub(), rb_f_kill(), rb_f_sub(), rb_fiddle_ptr_s_to_ptr(), rb_fstring(), rb_gdbm_fetch(), rb_gdbm_firstkey(), rb_gdbm_nextkey(), rb_gzfile_comment(), rb_gzfile_orig_name(), rb_gzfile_set_comment(), rb_gzfile_set_orig_name(), rb_gzreader_each(), rb_gzreader_readlines(), rb_id2str(), rb_inspect(), rb_io_each_line(), rb_io_getline_1(), rb_io_getline_fast(), rb_io_gets_m(), rb_io_putc(), rb_io_sysread(), rb_io_write_nonblock(), rb_iseq_defined_string(), rb_iseq_disasm(), rb_iseq_disasm_insn(), rb_load_file(), rb_name_error_str(), rb_obj_as_string(), rb_obj_inspect(), rb_p(), rb_reg_desc(), rb_reg_initialize_m(), rb_reg_match_m(), rb_reg_match_post(), rb_reg_match_pre(), rb_reg_nth_match(), rb_reg_preprocess_dregexp(), rb_reg_regcomp(), rb_reg_regsub(), rb_reg_source(), rb_reg_to_s(), rb_set_class_path(), rb_set_class_path_string(), rb_stat_inspect(), rb_str2big_karatsuba(), rb_str2big_normal(), rb_str2big_poweroftwo(), rb_str_append(), rb_str_aref(), rb_str_buf_append(), rb_str_buf_cat(), rb_str_buf_cat_ascii(), rb_str_buf_new(), rb_str_buf_new_cstr(), rb_str_capitalize(), rb_str_capitalize_bang(), rb_str_cat(), rb_str_catf(), rb_str_chomp(), rb_str_chomp_bang(), rb_str_chop_bang(), rb_str_clear(), rb_str_conv_enc_opts(), rb_str_delete(), rb_str_delete_bang(), rb_str_downcase(), rb_str_downcase_bang(), rb_str_drop_bytes(), rb_str_ellipsize(), rb_str_encode(), rb_str_enumerate_bytes(), rb_str_enumerate_chars(), rb_str_enumerate_codepoints(), rb_str_enumerate_lines(), rb_str_force_encoding(), rb_str_format(), rb_str_init(), rb_str_insert(), rb_str_lstrip(), rb_str_lstrip_bang(), rb_str_match_m(), rb_str_new_frozen(), rb_str_prepend(), rb_str_quote_unprintable(), rb_str_replace(), rb_str_resize(), rb_str_reverse_bang(), rb_str_rstrip(), rb_str_rstrip_bang(), rb_str_scan(), rb_str_squeeze(), rb_str_squeeze_bang(), rb_str_strip(), rb_str_strip_bang(), rb_str_sub(), rb_str_sub_bang(), rb_str_succ(), rb_str_succ_bang(), rb_str_swapcase(), rb_str_swapcase_bang(), rb_str_to_s(), rb_str_tr(), rb_str_tr_s(), rb_str_unlocktmp(), rb_str_upcase(), rb_str_upcase_bang(), rb_str_vcatf(), rb_strftime_with_timespec(), rb_string_value_cstr(), rb_string_value_ptr(), rb_tainted_str_new(), rb_tainted_str_new_cstr(), rb_thread_current_status(), rb_thread_inspect(), rb_usascii_str_new(), rb_usascii_str_new_cstr(), rb_zlib_version(), read_all(), reg_match_pos(), rsock_s_recvfrom(), rsock_s_recvfrom_nonblock(), rsock_syserr_fail_raddrinfo(), RUBY_ALIAS_FUNCTION(), ruby_brace_expand(), ruby_debug_print_value(), ruby_each_words(), ruby_scan_digits(), ruby_setenv(), ruby_strtoul(), set_file_encoding(), str2big_scan_digits(), str_alloc(), str_buf_cat(), str_byte_aref(), str_compat_and_valid(), str_encode(), str_encode_associate(), str_encode_bang(), str_gsub(), str_new(), str_new0(), str_replace(), str_scrub_bang(), str_shrink(), str_transcode0(), strftimev(), strio_getline(), strio_gets(), strio_putc(), strio_read(), strio_set_encoding(), strio_substr(), strio_syswrite_nonblock(), strio_ungetbyte(), strscan_do_scan(), strscan_initialize(), strscan_set_string(), sym_inspect(), sys_fail2(), syserr_initialize(), syslog_write(), tcl_protect_core(), time_dump(), time_mdump(), time_strftime(), tr_trans(), update_char_offset(), usage(), vm_check_if_namespace(), warn_print(), warn_printf(), wmap_inspect(), wmap_inspect_i(), and writer().

volatile VALUE strval
Initial value:
{
char *ret
int ret
Definition: tcltklib.c:285

Definition at line 9373 of file tcltklib.c.

struct timeval t

Definition at line 4039 of file tcltklib.c.

struct timeval t0 t1

Definition at line 2794 of file tcltklib.c.

Referenced by bracket(), mime_getc(), rb_ary_permutation(), and rb_ary_product().

return table
static
int taint_flag = OBJ_TAINTED(list_str)

Definition at line 9725 of file tcltklib.c.

VALUE target
return TCL_ERROR

Definition at line 3945 of file tcltklib.c.

Referenced by if(), switch(), and tcl_protect_core().

return TCL_OK
Initial value:
{
static int Tcl_Interp * interp
Definition: tcltklib.c:282
Tcl_ResetResult(interp)

Definition at line 3986 of file tcltklib.c.

Referenced by if(), switch(), and tcl_protect_core().

Tcl_SetMaxBlockTime& tcl_time

Definition at line 1894 of file tcltklib.c.

Referenced by rbtk_EventSetupProc().

int* tclDummyMathPtr = (int *) matherr

Definition at line 400 of file tcltklib.c.

struct { ... } tcltk_version

Referenced by set_tcltk_version().

VALUE tcltkip_class
static

Definition at line 221 of file tcltklib.c.

const char tcltklib_release_date[] = TCLTKLIB_RELEASE_DATE
static

Definition at line 179 of file tcltklib.c.

VALUE th = rb_thread_create(_thread_call_proc, (void*)q)
static

Definition at line 2944 of file tcltklib.c.

Referenced by argument_error(), call_trace_func(), call_without_gvl(), check_deadlock_i(), clear_trace_func_i(), compile_err_append(), cont_capture(), cont_mark(), cont_new(), cont_restore_thread(), cont_save_thread(), do_select(), error_handle(), error_print(), exec_interrupts(), gc_event_hook_body(), gc_mark_roots(), gc_page_sweep(), GET_THREAD(), Init_BareVM(), Init_heap(), Init_VM(), location_to_str(), lock_func(), method_entry_of_iseq(), postponed_job_register(), proc_new(), process_options(), rb_add_method(), rb_binding_add_dynavars(), rb_binding_new(), rb_block_arity(), rb_block_given_p(), rb_debug_inspector_open(), rb_dvar_defined(), rb_ensure(), rb_errinfo(), rb_exec_end_proc(), rb_fiber_reset_root_local_storage(), rb_frame_last_func(), rb_frame_pop(), rb_iseq_compile_with_option(), rb_iseq_eval(), rb_iseq_eval_main(), rb_iseq_new_main(), rb_last_status_set(), rb_load_internal0(), rb_local_defined(), rb_longjmp(), rb_memerror(), rb_method_call_with_block(), rb_mod_refine(), rb_mutex_lock(), rb_postponed_job_flush(), rb_postponed_job_register(), rb_postponed_job_register_one(), rb_protect(), rb_raise_jump(), rb_require_safe(), rb_rescue2(), rb_set_end_proc(), rb_set_safe_level(), rb_sourcefile(), rb_sourcefilename(), rb_sourceline(), rb_suppress_tracing(), rb_thread_abort_exc(), rb_thread_abort_exc_set(), rb_thread_alive_p(), rb_thread_atfork_internal(), rb_thread_blocking_region_begin(), rb_thread_blocking_region_end(), rb_thread_call_with_gvl(), rb_thread_execute_interrupts(), rb_thread_exit(), rb_thread_group(), rb_thread_inspect(), rb_thread_interrupted(), rb_thread_io_blocking_region(), rb_thread_key_p(), rb_thread_keys(), rb_thread_kill(), rb_thread_local_aref(), rb_thread_local_aset(), rb_thread_mark(), rb_thread_polling(), rb_thread_priority(), rb_thread_priority_set(), rb_thread_s_handle_interrupt(), rb_thread_safe_level(), rb_thread_schedule_limits(), rb_thread_status(), rb_thread_stop_p(), rb_thread_terminate_all(), rb_thread_wait_for(), rb_thread_wakeup_alive(), rb_threadptr_exec_event_hooks_orig(), rb_vm_call_cfunc(), rb_vm_cbase(), rb_vm_cref(), rb_vm_cref_in_context(), rb_vm_pop_cfunc_frame(), rb_vm_set_progname(), rb_vmdebug_stack_dump_raw_current(), rb_vmdebug_stack_dump_th(), rb_vmdebug_thread_dump_regs(), rb_vmdebug_thread_dump_state(), remove_from_join_list(), require_libraries(), ruby_cleanup(), ruby_exec_internal(), ruby_stack_length(), ruby_thread_has_gvl_p(), ruby_thread_init(), ruby_vm_destruct(), safe_setter(), set_relation(), stack_check(), terminate_atfork_before_exec_i(), terminate_atfork_i(), terminate_i(), thgroup_add(), thgroup_list_i(), thread_add_trace_func_m(), thread_alloc(), thread_backtrace_to_ary(), thread_cleanup_func(), thread_cleanup_func_before_exec(), thread_create_core(), thread_fd_close_i(), thread_free(), thread_initialize(), thread_join(), thread_join_sleep(), thread_list_i(), thread_memsize(), thread_raise_m(), thread_s_new(), thread_set_trace_func_m(), thread_value(), thval2thread_t(), top_define_method(), top_include(), vm_svar_get(), and vm_svar_set().

int thr_crit_bup = rb_thread_critical
static

Definition at line 1420 of file tcltklib.c.

Referenced by if(), switch(), and tcl_protect_core().

ivq thread = current_thread
VALUE tick
Initial value:
{
return Qfalse;
} else {
return Qtrue;
}
}
static VALUE
VALUE self
return Qtrue
Definition: tcltklib.c:9618
return Qfalse
Definition: tcltklib.c:6790
static int window_event_mode
Definition: tcltklib.c:481
unsigned long VALUE
Definition: ripper.y:88

Definition at line 1683 of file tcltklib.c.

Referenced by gc_mark_roots().

VALUE time
timer_tick = DEFAULT_TIMER_TICK
static

Definition at line 535 of file tcltklib.c.

Tcl_TimerToken timer_token = (Tcl_TimerToken)NULL
static

Definition at line 1610 of file tcltklib.c.

Referenced by for(), if(), and while().

Tk_Window tkwin = (Tk_Window) clientData

Definition at line 5068 of file tcltklib.c.

volatile VALUE tmp = Qnil

Definition at line 10216 of file tcltklib.c.

t tv_sec = 0

Definition at line 2796 of file tcltklib.c.

t tv_usec = (long)((NO_THREAD_INTERRUPT_TIME)*1000.0)

Definition at line 2797 of file tcltklib.c.

int type

Definition at line 112 of file tcltklib.c.

Referenced by callback(), check_gen_consistency(), check_type_tree(), compile_length_tree(), compile_tree(), count_objects(), count_objects_size(), defined_expr(), find_iid(), fixup_nodes(), fole_type(), function_call(), gc_mark_maybe(), generic_to_value(), get_head_value_node(), init_inetsock_internal(), initialize(), insn_data_to_s_detail(), int_to_ffi_type(), invoke_block_from_c(), iow_inspect(), iseq_build_from_ary_exception(), iseq_compile_each(), iseq_data_to_ary(), iseq_load(), iseq_set_sequence(), method_entry_i(), method_entry_set(), next_setup(), node_new_ctype(), node_new_enclose(), ole_method_invoke_kind(), ole_method_return_type(), ole_method_return_type_detail(), ole_ole_type(), ole_param_ole_type(), ole_ptrtype2val(), ole_type_from_itypeinfo(), ole_type_impl_ole_types(), ole_types_from_typelib(), ole_usertype2val(), ole_variable_ole_type(), ole_variable_ole_type_detail(), onig_node_new_anchor(), optimize_node_left(), ossl_digest_initialize(), ossl_pkcs7_set_type(), ossl_x509name_add_entry(), pack_pack(), pack_unpack(), parser_set_integer_literal(), parser_set_number_literal(), parser_yylex(), prepare_iseq_build(), r_object0(), r_symbol(), range_op(), rb_add_method(), rb_dlcfunc_initialize(), rb_dlcfunc_new(), rb_enc_symname_type(), rb_feature_p(), rb_insn_operand_intern(), rb_obj_setup(), rb_search_method_entry(), rb_str_symname_type(), rb_vm_bugreport(), rsock_init_inetsock(), search_required(), set_relation(), setup_subexp_call(), setup_tree(), singleton_class_of(), sock_initialize(), st_init_table_with_size(), subexp_inf_recursive_check(), subexp_inf_recursive_check_trav(), subexp_recursive_check_trav(), tcl_protect_core(), type2sym(), typeinfo_from_ole(), vm_exec(), vm_invoke_block(), and vm_push_frame().

int unknown_flag = 0

Definition at line 8588 of file tcltklib.c.

UNREACHABLE
Initial value:
{
"cancel_eval is supported Tcl/Tk8.6 or later.")
void rb_raise(VALUE exc, const char *fmt,...)
Definition: error.c:1857
VALUE rb_eNotImpError
Definition: error.c:558

Definition at line 1458 of file tcltklib.c.

args update_flag = update_flag

Definition at line 2186 of file tcltklib.c.

Referenced by for().

CONST char* updateOptions[] = {"idletasks", (char *) NULL}
static

Definition at line 3884 of file tcltklib.c.

Definition at line 8981 of file tcltklib.c.

va_dcl
Initial value:
{
va_list args
args[0]
Definition: enum.c:585

Definition at line 849 of file tcltklib.c.

VALUE VALUE val
static

Definition at line 1928 of file tcltklib.c.

VALUE value = argv[2]

Definition at line 9450 of file tcltklib.c.

VALUE var
VALUE varname = argv[0]

Definition at line 9319 of file tcltklib.c.

VALUE wait
watchdog_thread = rb_thread_current()
static

Definition at line 483 of file tcltklib.c.

Tk_Window window
Initial value:
{
Tk_Window tkwin = (Tk_Window) clientData
static void ClientData clientData
Definition: tcltklib.c:1616
Tk_Window tkwin
Definition: tcltklib.c:5068

Definition at line 4465 of file tcltklib.c.

int window_event_mode = ~0
static

Definition at line 481 of file tcltklib.c.

int with_tk = 1

Definition at line 6165 of file tcltklib.c.