{
struct jwxyz_XtIntervalId *data = (struct jwxyz_XtIntervalId *) arg;
data->refcount++;
- LOGT(@"timer 0x%08X: retain %d\n", (unsigned int) data, data->refcount);
+ LOGT(@"timer 0x%08X: retain %d", (unsigned int) data, data->refcount);
return arg;
}
{
struct jwxyz_XtIntervalId *data = (struct jwxyz_XtIntervalId *) arg;
data->refcount--;
- LOGT(@"timer 0x%08X: release %d\n", (unsigned int) data, data->refcount);
+ LOGT(@"timer 0x%08X: release %d", (unsigned int) data, data->refcount);
if (data->refcount < 0) abort();
if (data->refcount == 0) free (data);
}
{
struct jwxyz_XtInputId *data = (struct jwxyz_XtInputId *) arg;
data->refcount++;
- LOGI(@"source 0x%08X %2d: retain %d\n", (unsigned int) data, data->fd,
+ LOGI(@"source 0x%08X %2d: retain %d", (unsigned int) data, data->fd,
data->refcount);
return arg;
}
{
struct jwxyz_XtInputId *data = (struct jwxyz_XtInputId *) arg;
data->refcount--;
- LOGI(@"source 0x%08X %2d: release %d\n", (unsigned int) data, data->fd,
+ LOGI(@"source 0x%08X %2d: release %d", (unsigned int) data, data->fd,
data->refcount);
if (data->refcount < 0) abort();
if (data->refcount == 0) {
jwxyz_timer_cb (CFRunLoopTimerRef timer, void *arg)
{
struct jwxyz_XtIntervalId *data = (struct jwxyz_XtIntervalId *) arg;
- LOGT(@"timer 0x%08X: fire\n", (unsigned int) data, 0);
+ LOGT(@"timer 0x%08X: fire", (unsigned int) data, 0);
data->cb (data->closure, &data);
// Our caller (__CFRunLoopDoTimer) will now call CFRunLoopTimerInvalidate,
// So don't call data->cb if we're being fed a pack of lies.
//
if (! input_available_p (data->fd)) {
- LOGI(@"source 0x%08X %2d: false alarm!\n", (unsigned int) data, data->fd, 0);
+ LOGI(@"source 0x%08X %2d: false alarm!", (unsigned int) data, data->fd, 0);
return;
}
- LOGI(@"source 0x%08X %2d: fire\n", (unsigned int) data, data->fd, 0);
+ LOGI(@"source 0x%08X %2d: fire", (unsigned int) data, data->fd, 0);
data->cb (data->closure, &data->fd, &data);
}
data->cb = cb;
data->closure = closure;
- LOGT(@"timer 0x%08X: alloc %d\n", (unsigned int) data, msecs);
+ LOGT(@"timer 0x%08X: alloc %d", (unsigned int) data, msecs);
CFRunLoopTimerContext ctx = { 0, };
ctx.info = data;
void
XtRemoveTimeOut (XtIntervalId id)
{
- LOGT(@"timer 0x%08X: remove\n", (unsigned int) id, 0);
+ LOGT(@"timer 0x%08X: remove", (unsigned int) id, 0);
if (id->refcount <= 0) abort();
if (!id->cftimer) abort();
data->fd = fd;
data->closure = closure;
- LOGI(@"source 0x%08X %2d: alloc\n", (unsigned int) data, data->fd, 0);
+ LOGI(@"source 0x%08X %2d: alloc", (unsigned int) data, data->fd, 0);
# ifdef USE_COCOA_SOURCES
void
XtRemoveInput (XtInputId id)
{
- LOGI(@"source 0x%08X %2d: remove\n", (unsigned int) id, id->fd, 0);
+ LOGI(@"source 0x%08X %2d: remove", (unsigned int) id, id->fd, 0);
if (id->refcount <= 0) abort();
# ifdef USE_COCOA_SOURCES
if (! id->cfsource) abort();