/usr/include/freehdl/kernel-winfo-item.hh is in libfreehdl0-dev 0.0.8-2.2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 | #ifndef FREEHDL_KERNEL_WINFO_ITEM_H
#define FREEHDL_KERNEL_WINFO_ITEM_H
#include <freehdl/kernel-classes.hh>
class winfo_item {
union _data { int wait_id; winfo_item *wii; };
_data data;
public:
winfo_item() { data.wait_id = 0; data.wii = NULL; }
operator int() { return data.wait_id; }
operator winfo_item*() { return data.wii; }
winfo_item &operator=(int id) {
data.wait_id = id; return *this;
}
winfo_item &operator=(winfo_item *a) {
data.wii = a; return *this;
}
};
#endif
|