We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2803346 commit 4d93547Copy full SHA for 4d93547
1 file changed
tests/python/python_shared_library.mojo
@@ -21,8 +21,7 @@ def PyInit_python_shared_library() -> PythonObject:
21
abort(String("failed to create Python module: ", e))
22
23
24
-@export
25
-def mojo_count_args(py_self: PyObjectPtr, args: PyObjectPtr) -> PyObjectPtr:
+def mojo_count_args(py_self: PyObjectPtr, args: PyObjectPtr) abi("C") -> PyObjectPtr:
26
ref cpython = Python().cpython()
27
28
var count = cpython.PyObject_Length(args)
0 commit comments