Home
last modified time | relevance | path

Searched refs:INT_TO_POINTER (Results 1 – 2 of 2) sorted by relevance

/external/avahi/avahi-core/
Dtimeeventq-test.c34 #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()
Dprioq-test.c34 #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()