How to use the metacall.Descriptor function in metacall

To help you get started, we’ve selected a few metacall examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github FooSoft / metacall / metacall.py View on Github external
def wrapper(func):
        assert func.func_code.co_argcount == len(types)
        func.descriptor = Descriptor(func.func_code.co_name, types)
        return func

metacall

A library for providing inter-language foreign function interface calls

Apache-2.0
Latest version published 2 years ago

Package Health Score

61 / 100
Full package analysis

Similar packages