Documentation ¶
Index ¶
- func CBytesToGoBytes(ustr uintptr, n int) []byte
- func CStrToGoStr(ustr uintptr) string
- func GoByteToCPtr(b []byte) uintptr
- func GoStrToCStr(s string) uintptr
- func Lstrlen(lpString uintptr) int32
- func LstrlenW(lpString uintptr) int32
- func PyBool_FromLong(l int64) uintptr
- func PyBytes_FromString(s string) uintptr
- func PyCFunction_New(def uintptr, args uintptr) uintptr
- func PyDict_Clear(obj uintptr)
- func PyDict_DelItem(obj uintptr, key uintptr) int
- func PyDict_DelItemString(obj uintptr, key string) int
- func PyDict_GetItem(obj uintptr, key uintptr) uintptr
- func PyDict_GetItemString(obj uintptr, key string) uintptr
- func PyDict_Keys(obj uintptr) uintptr
- func PyDict_New() uintptr
- func PyDict_SetItem(obj uintptr, key uintptr, val uintptr) int
- func PyDict_SetItemString(obj uintptr, key string, val uintptr) int
- func PyDict_Size(obj uintptr) int64
- func PyErr_NewException(name string, base uintptr, dict uintptr) uintptr
- func PyErr_SetString(tp uintptr, message string)
- func PyEval_GetBuiltins() uintptr
- func PyEval_GetFrame() uintptr
- func PyEval_GetGlobals() uintptr
- func PyEval_GetLocals() uintptr
- func PyExc_Exception() uintptr
- func PyExc_ValueError() uintptr
- func PyFrame_GetBack(frame uintptr) uintptr
- func PyFrame_GetCode(frame uintptr) uintptr
- func PyImport_AppendInittab(name string, initfunc uintptr) int
- func PyImport_Import(name uintptr) uintptr
- func PyInstanceMethod(cfn uintptr) uintptr
- func PyList_Append(obj uintptr, item uintptr) int
- func PyList_GetItem(obj uintptr, index int64) uintptr
- func PyList_GetSlice(obj uintptr, low int64, high int64) uintptr
- func PyList_Insert(obj uintptr, index int64, item uintptr) int
- func PyList_New(len int64) uintptr
- func PyList_SetItem(obj uintptr, index int64, item uintptr) int
- func PyList_Size(obj uintptr) int64
- func PyLong_AsDouble(obj uintptr) float64
- func PyLong_AsLong(obj uintptr) int
- func PyLong_AsLongLong(obj uintptr) int64
- func PyLong_FromDouble(n float64) uintptr
- func PyLong_FromLong(n int) uintptr
- func PyLong_FromLongLong(n int64) uintptr
- func PyMem_Free(obj uintptr)
- func PyMem_RawFree(obj uintptr)
- func PyModule_AddFunctions(obj uintptr, functionsDef uintptr) int
- func PyModule_AddIntConstant(obj uintptr, name string, value int64) int
- func PyModule_AddObject(obj uintptr, name string, value uintptr) int
- func PyModule_AddObjectRef(obj uintptr, name string, value uintptr) int
- func PyModule_AddStringConstant(obj uintptr, name string, value string) int
- func PyModule_Create2(PyModuleDef uintptr, apiver int) uintptr
- func PyModule_GetDict(obj uintptr) uintptr
- func PyModule_GetName(obj uintptr) string
- func PyObject_Call(obj uintptr, args uintptr, kwargs uintptr) uintptr
- func PyObject_CallFunctionObjArgs(callable ...uintptr) uintptr
- func PyObject_CallNoArgs(obj uintptr) uintptr
- func PyObject_CallObject(obj uintptr, args uintptr) uintptr
- func PyObject_DelAttrString(obj uintptr, attr_name string) int
- func PyObject_GetAttr(obj uintptr, attr_name uintptr) uintptr
- func PyObject_GetAttrString(obj uintptr, attr_name string) uintptr
- func PyObject_HasAttrString(obj uintptr, attr_name string) int
- func PyObject_SetAttrString(obj uintptr, attr_name string, v uintptr) int
- func PyObject_Str(obj uintptr) uintptr
- func PyObject_Type(obj uintptr) uintptr
- func PyRun_AnyFile(fp uintptr, filename string) int
- func PyRun_SimpleFile(fp uintptr, filename string) int
- func PyRun_SimpleString(command string) int
- func PyTuple_Check(obj uintptr) int64
- func PyTuple_GetItem(obj uintptr, pos int64) uintptr
- func PyTuple_GetSlice(obj uintptr, low int64, high int64) uintptr
- func PyTuple_New(len int64) uintptr
- func PyTuple_SetItem(obj uintptr, pos int64, o uintptr) uintptr
- func PyTuple_Size(obj uintptr) int64
- func PyType_GetModule(obj uintptr) uintptr
- func PyType_Name(obj uintptr) string
- func PyType_Type() uintptr
- func PyUnicode_AsUTF8(obj uintptr) string
- func PyUnicode_DecodeFSDefault(u string) uintptr
- func PyUnicode_FromString(u string) uintptr
- func PyUnicode_GetLength(obj uintptr) int64
- func Py_BytesMain(args []string) int
- func Py_DecRef(obj uintptr)
- func Py_DecodeLocale(arg string, size uintptr) string
- func Py_Finalize()
- func Py_FinalizeEx() int
- func Py_GetProgramName() string
- func Py_IncRef(obj uintptr)
- func Py_Initialize()
- func Py_InitializeEx(initsigs int)
- func Py_IsInitialized() int
- func Py_Main(args []string) int
- func Py_None() uintptr
- func Py_SetPath(path string)
- func Py_SetProgramName(name string)
- func Py_SetPythonHome(home string)
- func Py_fopen_obj(path uintptr, mode string) uintptr
- func StringToUTF16Ptr(s string) uintptr
- func StringToUTF8Ptr(s string) *uint8
- func UTF16PtrToString(p uintptr) string
- type Pointer
- type PyMethodDef
- type PyModuleDef
- type PyModuleDef_Base
- type PyObject
- type SIZE_T
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CBytesToGoBytes ¶
func CStrToGoStr ¶
func PyBool_FromLong ¶
func PyBytes_FromString ¶
func PyCFunction_New ¶
func PyDict_Clear ¶
func PyDict_Clear(obj uintptr)
func PyDict_DelItem ¶
func PyDict_DelItemString ¶
func PyDict_GetItem ¶
func PyDict_GetItemString ¶
func PyDict_Keys ¶
func PyDict_New ¶
func PyDict_New() uintptr
func PyDict_Size ¶
func PyErr_SetString ¶
func PyEval_GetBuiltins ¶
func PyEval_GetBuiltins() uintptr
func PyEval_GetFrame ¶
func PyEval_GetFrame() uintptr
func PyEval_GetGlobals ¶
func PyEval_GetGlobals() uintptr
func PyEval_GetLocals ¶
func PyEval_GetLocals() uintptr
func PyExc_Exception ¶
func PyExc_Exception() uintptr
func PyExc_ValueError ¶
func PyExc_ValueError() uintptr
func PyFrame_GetBack ¶
func PyFrame_GetCode ¶
func PyImport_AppendInittab ¶
func PyImport_Import ¶
func PyInstanceMethod ¶
func PyList_Append ¶
func PyList_GetItem ¶
func PyList_New ¶
func PyList_Size ¶
func PyLong_AsDouble ¶
func PyLong_AsLong ¶
func PyLong_AsLongLong ¶
func PyLong_FromDouble ¶
func PyLong_FromLong ¶
func PyLong_FromLongLong ¶
func PyMem_Free ¶
func PyMem_Free(obj uintptr)
func PyMem_RawFree ¶
func PyMem_RawFree(obj uintptr)
func PyModule_AddFunctions ¶
func PyModule_AddIntConstant ¶
func PyModule_AddObjectRef ¶
func PyModule_Create2 ¶
func PyModule_GetDict ¶
func PyModule_GetName ¶
func PyObject_CallNoArgs ¶
func PyObject_CallObject ¶
func PyObject_DelAttrString ¶
func PyObject_GetAttr ¶
func PyObject_GetAttrString ¶
func PyObject_HasAttrString ¶
func PyObject_SetAttrString ¶
func PyObject_Str ¶
func PyObject_Type ¶
func PyRun_AnyFile ¶
func PyRun_SimpleFile ¶
func PyRun_SimpleString ¶
func PyTuple_Check ¶
func PyTuple_GetItem ¶
func PyTuple_New ¶
func PyTuple_Size ¶
func PyType_GetModule ¶
func PyType_Name ¶
func PyType_Type ¶
func PyType_Type() uintptr
func PyUnicode_AsUTF8 ¶
func PyUnicode_FromString ¶
func PyUnicode_GetLength ¶
func Py_BytesMain ¶
func Py_DecodeLocale ¶
func Py_Finalize ¶
func Py_Finalize()
func Py_FinalizeEx ¶
func Py_FinalizeEx() int
func Py_GetProgramName ¶
func Py_GetProgramName() string
func Py_Initialize ¶
func Py_Initialize()
func Py_InitializeEx ¶
func Py_InitializeEx(initsigs int)
func Py_IsInitialized ¶
func Py_IsInitialized() int
func Py_SetPath ¶
func Py_SetPath(path string)
func Py_SetProgramName ¶
func Py_SetProgramName(name string)
func Py_SetPythonHome ¶
func Py_SetPythonHome(home string)
func Py_fopen_obj ¶
Types ¶
type PyMethodDef ¶
type PyModuleDef ¶
type PyModuleDef_Base ¶
Click to show internal directories.
Click to hide internal directories.