Skip to content

Commit 32c22c3

Browse files
committed
fix struct imports
1 parent 4557b09 commit 32c22c3

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

pythonbpf/codegen.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
from .license_pass import license_processing
44
from .functions_pass import func_proc
55
from .maps_pass import maps_proc
6-
from .structs_pass import structs_proc
6+
from .structs.structs_pass import structs_proc
77
from .globals_pass import globals_processing
88
import os
99
import subprocess

pythonbpf/structs/structs_pass.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import ast
22
import logging
33
from llvmlite import ir
4-
from .type_deducer import ctypes_to_ir
4+
from pythonbpf.type_deducer import ctypes_to_ir
55
from .struct_type import StructType
66

77
logger = logging.getLogger(__name__)

0 commit comments

Comments
 (0)