We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 340d9e5 commit 5e85f20Copy full SHA for 5e85f20
chb/bctypes/TypeConstraint.py
@@ -56,6 +56,7 @@
56
| TyAscii "a" 1 0
57
| TyExtendedAscii "ac" 1 0
58
| TyZero "z" 1 0
59
+ | TyVoidPtr "vp" 1 0
60
| TyTInt of ikind_t "ti" 2 0
61
| TyTFloat of fkind_t "tf" 2 0
62
| TyTUnknown "u" 1 0
@@ -626,6 +627,19 @@ def __str__(self) -> str:
626
627
return "t_zero"
628
629
630
+@tcdregistry.register_tag("vp", TypeConstant)
631
+class TypeConstantVoidPtr(TypeConstant):
632
+
633
+ def __init__(
634
+ self,
635
+ tcd: "TypeConstraintDictionary",
636
+ ixval: IndexedTableValue) -> None:
637
+ TypeConstant.__init__(self, tcd, ixval)
638
639
+ def __str__(self) -> str:
640
+ return "t_voidptr"
641
642
643
@tcdregistry.register_tag("ti", TypeConstant)
644
class TypeConstantTInt(TypeConstant):
645
0 commit comments