blob: 674ed4b2b7921d546c33b54d7ee96d0d67906f50 (
plain)
1
2
3
4
5
6
7
8
9
10
|
/uint64_t handle;$/ && found_signal {
print
print "#ifdef __cplusplus"
print " bool operator<(const hsa_signal_s& rhs) const { return handle < rhs.handle; }"
print "#endif"
found_signal = 0
next
}
/typedef struct hsa_signal_s \{/ { found_signal = 1 }
{ print }
|