Skip to content

Commit a2de15f

Browse files
add c_int to type_deducer.py
1 parent 081ee5c commit a2de15f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pythonbpf/type_deducer.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
"c_ulong": ir.IntType(64),
1818
"c_longlong": ir.IntType(64),
1919
"c_uint": ir.IntType(32),
20+
"c_int": ir.IntType(32),
2021
# Not so sure about this one
2122
"str": ir.PointerType(ir.IntType(8)),
2223
}

0 commit comments

Comments
 (0)