mirror of
https://github.com/varun-r-mallya/Python-BPF.git
synced 2025-12-31 21:06:25 +00:00
make license handling easier
This commit is contained in:
@ -28,10 +28,7 @@ def hello_again(ctx: c_void_p) -> c_int64:
|
||||
ts = bpf_ktime_get_ns()
|
||||
return c_int64(0)
|
||||
|
||||
# @bpf
|
||||
# @bpfglobal
|
||||
# def LICENSE() -> str:
|
||||
# return "GPL"
|
||||
|
||||
|
||||
LICENSE = "GPL"
|
||||
@bpf
|
||||
@bpfglobal
|
||||
def LICENSE() -> str:
|
||||
return "GPL"
|
||||
|
||||
Reference in New Issue
Block a user