Skip to content

Commit b039248

Browse files
committed
docs: remove c_int64 helper usage in return statement
1 parent 4ab1e26 commit b039248

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ from ctypes import c_void_p, c_int64
2727
@section("tracepoint/syscalls/sys_enter_execve")
2828
def hello_world(ctx: c_void_p) -> c_int64:
2929
print("Hello, World!")
30-
return c_int64(0)
30+
return 0
3131

3232
@bpf
3333
@bpfglobal

0 commit comments

Comments
 (0)