fix: Hashmap type check

This commit is contained in:
2025-09-08 20:06:21 +05:30
parent 1bbf004554
commit 627ee9265a
4 changed files with 18 additions and 4 deletions

8
pythonbpf/maps.py Normal file
View File

@ -0,0 +1,8 @@
class HashMap:
def __init__(self, key_type, value_type, max_entries):
self.key_type = key_type
self.value_type = value_type
self.max_entries = max_entries
self.entries = {}
# add other supported map functions here