MLIR 23.0.0git
stubgen_runner Namespace Reference

Functions

 load_extension (Path path)
 main ()

Detailed Description

Generates .pyi stubs for nanobind extensions using nanobind's stubgen.

Function Documentation

◆ load_extension()

stubgen_runner.load_extension ( Path path)
Load an extension module from a .so file with RTLD_GLOBAL.

Definition at line 13 of file stubgen_runner.py.

Referenced by main().

◆ main()

stubgen_runner.main ( )

Definition at line 30 of file stubgen_runner.py.

References load_extension(), and main().

Referenced by main().