| 535 | }; |
| 536 | |
| 537 | static int |
| 538 | mainloop_gio_refcount(mainloop_io_t *client) |
| 539 | { |
| 540 | /* This is evil |
| 541 | * Looking at the giochannel header file, ref_count is the first member of channel |
| 542 | * So cheat... |
| 543 | */ |
| 544 | if(client && client->channel) { |
| 545 | int *ref = (void*)client->channel; |
| 546 | return *ref; |
| 547 | } |
| 548 | return 0; |
| 549 | } |
| 550 | |
| 551 | static gboolean |
| 552 | mainloop_gio_callback(GIOChannel *gio, GIOCondition condition, gpointer data) |
no outgoing calls
no test coverage detected