Author: petdance
Date: Fri Jun 15 08:48:51 2007
New Revision: 19022
Modified:
trunk/include/parrot/events.h
trunk/include/parrot/interpreter.h
trunk/src/events.c
Log:
added headers that disappeared from events.h
Modified: trunk/include/parrot/events.h
==============================================================================
--- trunk/include/parrot/events.h (original)
+++ trunk/include/parrot/events.h Fri Jun 15 08:48:51 2007
@@ -103,6 +103,9 @@
char *ext )
__attribute__nonnull__(1);
+PARROT_API void Parrot_new_suspend_for_gc_event( Interp *interp /*NN*/ )
+ __attribute__nonnull__(1);
+
PARROT_API void Parrot_new_terminate_event( Interp *interp );
PARROT_API void Parrot_new_timer_event( Interp *interp,
PMC *timer,
Modified: trunk/include/parrot/interpreter.h
==============================================================================
--- trunk/include/parrot/interpreter.h (original)
+++ trunk/include/parrot/interpreter.h Fri Jun 15 08:48:51 2007
@@ -509,6 +509,8 @@
PARROT_API FLOATVAL Parrot_run_meth_fromc_arglist_retf(Interp *, PMC *sub,
PMC* obj, STRING *meth, const char *signature, va_list);
+PARROT_API void Parrot_run_callback(Parrot_Interp, PMC* cbi, char *ext);
+
PARROT_API void Parrot_callback_C(char *external_data, PMC *callback_info);
PARROT_API void Parrot_callback_D(PMC *callback_info, char *external_data);
PARROT_API PMC* Parrot_make_cb(Interp *interp, PMC* sub, PMC* user_data,
Modified: trunk/src/events.c
==============================================================================
--- trunk/src/events.c (original)
+++ trunk/src/events.c Fri Jun 15 08:48:51 2007
@@ -471,7 +471,8 @@
PARROT_API
void
-Parrot_new_suspend_for_gc_event(Interp *interp /*NN*/) {
+Parrot_new_suspend_for_gc_event(Interp *interp /*NN*/)
+{
QUEUE_ENTRY *qe;
parrot_event* const ev = mem_allocate_typed(parrot_event);
ev->type = EVENT_TYPE_SUSPEND_FOR_GC;
@@ -1145,7 +1146,7 @@
*/
static opcode_t *
-do_event(Interp *interp, parrot_event* event, opcode_t *next)
+do_event(Interp *interp, parrot_event* event /*NN*/, opcode_t *next)
{
edebug((stderr, "do_event %s\n", et(event)));
switch (event->type) {