docs: remove c_int64 helper usage in return statement

This commit is contained in:
Pragyansh Chaturvedi
2026-01-22 03:17:41 +05:30
parent 4ab1e26b92
commit b03924836e

View File

@ -27,7 +27,7 @@ from ctypes import c_void_p, c_int64
@section("tracepoint/syscalls/sys_enter_execve")
def hello_world(ctx: c_void_p) -> c_int64:
print("Hello, World!")
return c_int64(0)
return 0
@bpf
@bpfglobal