Source-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: src/sys/sys
Module Name: src
Committed By: kamil
Date: Sat Aug 10 15:02:03 UTC 2019
Modified Files:
src/sys/sys: event.h
Log Message:
Handle more corner cases in sys/event.h for C++ EV_SET()
Handle the udata argument as Plain-Old-Data types separately.
- int, long int, long long int
- unsigned int, unsigned long int, unsigned long long int
- void *
This approach handles each of the POD types separately on purpose as
intermediate types such as intptr_t can be either int or long (even long
long) and handling them is not portable.
This approach is compatibile with C++98 and newer.
Fixes i386 usage.
To generate a diff of this commit:
cvs rdiff -u -r1.34 -r1.35 src/sys/sys/event.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Home |
Main Index |
Thread Index |
Old Index