From 44b95b69cafd4781c1f155c1d5d4554a8f85186e Mon Sep 17 00:00:00 2001 From: Pragyansh Chaturvedi Date: Tue, 30 Sep 2025 23:26:18 +0530 Subject: [PATCH] Add __init__.py under structs/, fix imports --- pythonbpf/codegen.py | 2 +- pythonbpf/structs/__init__.py | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 pythonbpf/structs/__init__.py diff --git a/pythonbpf/codegen.py b/pythonbpf/codegen.py index b244130..d6b2f52 100644 --- a/pythonbpf/codegen.py +++ b/pythonbpf/codegen.py @@ -3,7 +3,7 @@ from llvmlite import ir from .license_pass import license_processing from .functions_pass import func_proc from pythonbpf.maps import maps_proc -from .structs.structs_pass import structs_proc +from .structs import structs_proc from .globals_pass import globals_processing from .debuginfo import DW_LANG_C11, DwarfBehaviorEnum import os diff --git a/pythonbpf/structs/__init__.py b/pythonbpf/structs/__init__.py new file mode 100644 index 0000000..3b697e2 --- /dev/null +++ b/pythonbpf/structs/__init__.py @@ -0,0 +1 @@ +from .structs_pass import structs_proc