add map update function support

This commit is contained in:
2025-09-10 23:44:29 +05:30
parent f830fbe8ba
commit 7de3a381b0
4 changed files with 110 additions and 5 deletions

View File

@ -37,7 +37,7 @@ def hello_again(ctx: c_void_p) -> c_int64:
if x:
print("we did not prevail")
ts = ktime()
# last().update(key, ts)
last().update(key, ts, 0)
return c_int64(0)
@ -46,5 +46,4 @@ def hello_again(ctx: c_void_p) -> c_int64:
def LICENSE() -> str:
return "GPL"
compile()