feat:user defined struct casting

This commit is contained in:
2025-11-27 12:41:57 +05:30
parent 4905649700
commit 1593b7bcfe
6 changed files with 176 additions and 63 deletions

View File

@ -20,6 +20,8 @@ mapping = {
"c_int": ir.IntType(32),
"c_ushort": ir.IntType(16),
"c_short": ir.IntType(16),
"c_ubyte": ir.IntType(8),
"c_byte": ir.IntType(8),
# Not so sure about this one
"str": ir.PointerType(ir.IntType(8)),
}