mirror of
https://github.com/varun-r-mallya/Python-BPF.git
synced 2025-12-31 21:06:25 +00:00
format chore
This commit is contained in:
@ -49,6 +49,7 @@ def emit_global(module: ir.Module, node, name):
|
|||||||
gvar.global_constant = False
|
gvar.global_constant = False
|
||||||
return gvar
|
return gvar
|
||||||
|
|
||||||
|
|
||||||
def globals_processing(tree, module):
|
def globals_processing(tree, module):
|
||||||
"""Process stuff decorated with @bpf and @bpfglobal except license and return the section name"""
|
"""Process stuff decorated with @bpf and @bpfglobal except license and return the section name"""
|
||||||
globals_sym_tab = []
|
globals_sym_tab = []
|
||||||
|
|||||||
@ -18,9 +18,6 @@ def somevalue2() -> c_int64:
|
|||||||
def somevalue1() -> c_int32:
|
def somevalue1() -> c_int32:
|
||||||
return c_int32(0)
|
return c_int32(0)
|
||||||
|
|
||||||
import ast
|
|
||||||
from dataclasses import dataclass
|
|
||||||
from typing import List
|
|
||||||
|
|
||||||
# --- Passing examples ---
|
# --- Passing examples ---
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user