mirror of
https://github.com/pocketpy/pocketpy
synced 2025-10-20 11:30:18 +00:00
331 B
331 B
title | icon | order |
---|---|---|
Call | dot | 6 |
bool pkpy_vectorcall(pkpy_vm*, int argc)
Wraps vm->vectorcall(argc)
.
This is the only way to call a function in the C-APIs.
- First push the function to call.
- Push
self
argument if it is a method call. Otherwise, callpkpy_push_null
. - Push arguments from left to right.