Searched refs:INT_TO_POINTER (Results 1 – 2 of 2) sorted by relevance
/external/avahi/avahi-core/ |
D | timeeventq-test.c | 34 #define INT_TO_POINTER(i) ((void*) (long) (i)) macro 54 avahi_time_event_new(q, avahi_elapse_time(&tv, 5000, 100), callback, INT_TO_POINTER(1)); in main() 55 avahi_time_event_new(q, avahi_elapse_time(&tv, 5000, 100), callback, INT_TO_POINTER(2)); in main()
|
D | prioq-test.c | 34 #define INT_TO_POINTER(i) ((void*) (long) (i)) macro 93 avahi_prio_queue_put(q2, avahi_prio_queue_put(q, INT_TO_POINTER(random() & 0xFFFF))); in main()
|