From a2de15fb1eb0b37227502253fab1881d7d267928 Mon Sep 17 00:00:00 2001 From: varun-r-mallya Date: Sat, 22 Nov 2025 13:36:21 +0530 Subject: [PATCH] add c_int to type_deducer.py --- pythonbpf/type_deducer.py | 1 + 1 file changed, 1 insertion(+) diff --git a/pythonbpf/type_deducer.py b/pythonbpf/type_deducer.py index 74abc0d..fd589ae 100644 --- a/pythonbpf/type_deducer.py +++ b/pythonbpf/type_deducer.py @@ -17,6 +17,7 @@ mapping = { "c_ulong": ir.IntType(64), "c_longlong": ir.IntType(64), "c_uint": ir.IntType(32), + "c_int": ir.IntType(32), # Not so sure about this one "str": ir.PointerType(ir.IntType(8)), }