python.ffi vocabulary
Factor handbook > Vocabulary index


Summary
python.ffi vocabulary

Words

Tuple classes
ClassSuperclassSlots
PyMethodDef struct
Py_DecRef-destructor alien-destructor


Symbol words
PyCFunction
PyObject


Ordinary words
WordStack effect
&Py_DecRef( alien -- alien )
<Py_DecRef-destructor>( alien -- destructor )
METH_CLASS( -- value )
METH_COEXIST( -- value )
METH_KEYWORDS( -- value )
METH_NOARGS( -- value )
METH_O( -- value )
METH_OLDARGS( -- value )
METH_STATIC( -- value )
METH_VARARGS( -- value )
PyCFunction_GetFlags( op -- int )
PyCFunction_NewEx( ml self module -- PyObject* )
PyCallable_Check( obj -- int )
PyCallback( quot -- alien )
PyDict_GetItemString( d key -- PyObject* )
PyDict_Items( d -- PyObject* )
PyDict_New( -- PyObject* )
PyDict_SetItem( d k o -- int )
PyDict_SetItemString( d key val -- int )
PyDict_Size( d -- int )
PyErr_Clear( -- )
PyErr_Fetch( ptype pvalue ptraceback -- )
PyErr_Print( -- )
PyEval_GetFuncName( func -- c-string )
PyFloat_FromDouble( d -- PyObject* )
PyImport_AddModule( name -- PyObject* )
PyImport_GetMagicNumber( -- long )
PyImport_ImportModule( name -- PyObject* )
PyInt_AsLong( io -- long )
PyList_GetItem( l pos -- PyObject* )
PyList_New( len -- PyObject* )
PyList_SetItem( l pos o -- int )
PyList_Size( l -- int )
PyLong_AsLong( o -- long )
PyLong_FromLong( v -- PyObject* )
PyModule_GetDict( module -- PyObject* )
PyModule_GetName( module -- c-string )
PyObject_Call( callable args kw -- PyObject* )
PyObject_CallObject( callable args -- PyObject* )
PyObject_GetAttrString( o attr_name -- PyObject* )
PyObject_IsTrue( o -- int )
PyObject_SetAttrString( o attr_name v -- int )
PyObject_Str( o -- PyObject* )
PyRun_SimpleString( command -- int )
PySequence_Check( o -- int )
PyString_AsString( string -- c-string )
PyString_FromString( v -- PyObject* )
PySys_GetObject( name -- PyObject* )
PySys_SetArgvEx( argc argv updatepath -- )
PyTuple_GetItem( t pos -- PyObject* )
PyTuple_New( len -- PyObject* )
PyTuple_SetItem( t pos o -- int )
PyTuple_Size( t -- int )
PyType_Check( obj -- int )
PyUnicodeUCS2_AsUTF8String( unicode -- PyObject* )
PyUnicodeUCS2_FromString( s -- PyObject* )
PyUnicodeUCS4_AsUTF8String( unicode -- PyObject* )
PyUnicodeUCS4_FromString( s -- PyObject* )
PyUnicode_DecodeUTF8( s size errors -- PyObject* )
Py_DecRef( o -- )
Py_Finalize( -- )
Py_GetVersion( -- c-string )
Py_IncRef( o -- )
Py_Initialize( -- )
Py_IsInitialized( -- bool )
|Py_DecRef( alien -- alien )


Class predicate words
WordStack effect
PyMethodDef?( object -- ? )
Py_DecRef-destructor?( object -- ? )


Files