зеркало из https://github.com/github/ruby.git
* ext/racc/cparse/cparse.c: prototype; call_scaniter().
* ext/sdbm/init.c: prototype; each_pair(). * ext/tcltklib/tcltklib.c: prototypes; _timer_for_tcl() and ip_ruby(), Nobu's patch at [ruby-dev:14483]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2311 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
564222ba27
Коммит
1ecdc6a115
|
@ -1,3 +1,12 @@
|
|||
Mon Apr 1 15:11:40 2002 NAKAMURA Usaku <usa@ruby-lang.org>
|
||||
|
||||
* ext/racc/cparse/cparse.c: prototype; call_scaniter().
|
||||
|
||||
* ext/sdbm/init.c: prototype; each_pair().
|
||||
|
||||
* ext/tcltklib/tcltklib.c: prototypes; _timer_for_tcl() and ip_ruby(),
|
||||
Nobu's patch at [ruby-dev:14483].
|
||||
|
||||
Fri Mar 29 20:21:58 2002 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
|
||||
|
||||
* lib/mkmf.rb (create_makefile): default FLAGS to empty strings.
|
||||
|
|
|
@ -282,6 +282,8 @@ catch_scaniter(arr, data, self)
|
|||
return Qnil;
|
||||
}
|
||||
|
||||
static VALUE call_scaniter _((VALUE));
|
||||
|
||||
static void
|
||||
wrap_yyparse(v)
|
||||
struct cparse_params *v;
|
||||
|
|
|
@ -420,6 +420,8 @@ update_i(pair, dbm)
|
|||
return Qnil;
|
||||
}
|
||||
|
||||
static VALUE each_pair _((VALUE));
|
||||
|
||||
static VALUE
|
||||
fsdbm_update(obj, other)
|
||||
VALUE obj, other;
|
||||
|
|
|
@ -64,6 +64,7 @@ static VALUE main_thread;
|
|||
static Tcl_TimerToken timer_token;
|
||||
|
||||
/* timer callback */
|
||||
static void _timer_for_tcl _((ClientData));
|
||||
static void
|
||||
_timer_for_tcl(clientData)
|
||||
ClientData clientData;
|
||||
|
@ -90,6 +91,12 @@ _timer_for_tcl(clientData)
|
|||
rb_thread_schedule();
|
||||
}
|
||||
|
||||
#if TCL_MAJOR_VERSION >= 8
|
||||
static int ip_ruby _((ClientData, Tcl_Interp *, int, Tcl_Obj *CONST*));
|
||||
#else
|
||||
static int ip_ruby _((ClientData, Tcl_Interp *, int, char **));
|
||||
#endif
|
||||
|
||||
/* execute Tk_MainLoop */
|
||||
static VALUE
|
||||
lib_mainloop(self)
|
||||
|
|
Загрузка…
Ссылка в новой задаче