From 1fa403c16d9262ee9541bd969f372d00bd62b3e8 Mon Sep 17 00:00:00 2001 From: root Date: Sun, 1 Jun 2008 01:13:59 +0000 Subject: *** empty log message *** --- ev.pod | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'ev.pod') diff --git a/ev.pod b/ev.pod index 670f7ce..36c21e1 100644 --- a/ev.pod +++ b/ev.pod @@ -3376,6 +3376,15 @@ additional extensions: =over 4 +=item C must have compatible +calling conventions regardless of C. + +Libev assumes not only that all watcher pointers have the same internal +structure (guaranteed by POSIX but not by ISO C for example), but it also +assumes that the same (machine) code can be used to call any watcher +callback: The watcher callbacks have different type signatures, but libev +calls them using an C internally. + =item C must be thread-atomic as well The type C (or whatever is defined as -- cgit v1.2.3