added disabled debug messages

This commit is contained in:
matthias.ringwald 2010-12-23 19:37:30 +00:00
parent 7569e8c239
commit f70fee3346

View File

@ -110,10 +110,15 @@ void cocoa_add_timer(timer_source_t * ts)
// hack: store CFRunLoopTimerRef in next pointer of linked_item // hack: store CFRunLoopTimerRef in next pointer of linked_item
ts->item.next = (void *)timerRef; ts->item.next = (void *)timerRef;
// printf("cocoa_add_timer ref %x\n", (int) timerRef);
CFRunLoopAddTimer(CFRunLoopGetCurrent(), timerRef, kCFRunLoopCommonModes); CFRunLoopAddTimer(CFRunLoopGetCurrent(), timerRef, kCFRunLoopCommonModes);
} }
int cocoa_remove_timer(timer_source_t * ts){ int cocoa_remove_timer(timer_source_t * ts){
// printf("cocoa_remove_timer ref %x\n", (int) ts->item.next);
CFRunLoopRemoveTimer(CFRunLoopGetCurrent(), (CFRunLoopTimerRef) ts->item.next, kCFRunLoopCommonModes); CFRunLoopRemoveTimer(CFRunLoopGetCurrent(), (CFRunLoopTimerRef) ts->item.next, kCFRunLoopCommonModes);
return 0; return 0;
} }
@ -127,9 +132,7 @@ void cocoa_execute()
} }
void cocoa_dump_timer(){ void cocoa_dump_timer(){
// not needed yet
fprintf(stderr, "WARNING: run_loop_dump_timer not implemented yet!"); fprintf(stderr, "WARNING: run_loop_dump_timer not implemented yet!");
// warning never the less
return; return;
} }