py

package
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 9, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	LLGoPackage = "link: $LLGO_PYTHON_ROOT/python3.12"
)

Variables

This section is empty.

Functions

func Finalize

func Finalize()

func Initialize

func Initialize()

func InitializeEx

func InitializeEx(initsigs Int)

This function works like Initialize() if initsigs is 1. If initsigs is 0, it skips initialization registration of signal handlers, which might be useful when Python is embedded.

func SetProgramName

func SetProgramName(name *Char)

Types

type Char

type Char = c.Char

type CompilerFlags

type CompilerFlags struct {
	CfFlags Int
}

llgo:type C

type Int

type Int = c.Int

func RunSimpleFile

func RunSimpleFile(fp c.FilePtr, filename *Char) Int

func RunSimpleFileFlags

func RunSimpleFileFlags(fp c.FilePtr, filename *Char, flags *CompilerFlags) Int

func RunSimpleString

func RunSimpleString(command *Char) Int

func RunSimpleStringFlags

func RunSimpleStringFlags(command *Char, flags *CompilerFlags) Int

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL