--- libev/ev.pod 2008/05/31 23:22:23 1.164 +++ libev/ev.pod 2008/06/01 01:13:59 1.165 @@ -3376,6 +3376,15 @@ =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