19 #if defined(_RPMPYTHON_INTERNAL) 23 #if defined(__LCLINT__) 42 #define rpmpythonUnlink(_python) \ 43 ((rpmpython)rpmioUnlinkPoolItem((rpmioItem)(_python), __FUNCTION__, __FILE__, __LINE__)) 53 #define rpmpythonLink(_python) \ 54 ((rpmpython)rpmioLinkPoolItem((rpmioItem)(_python), __FUNCTION__, __FILE__, __LINE__)) 65 #define rpmpythonFree(_python) \ 66 ((rpmpython)rpmioFreePoolItem((rpmioItem)(_python), __FUNCTION__, __FILE__, __LINE__)) 87 const char ** resultp)
99 const char ** resultp)
#define rpmpythonFree(_python)
#define rpmpythonUnlink(_python)
#define rpmpythonLink(_python)
rpmpython rpmpythonNew(char **av, uint32_t flags)
Create and load a python interpreter.
struct rpmpython_s * rpmpython
rpmRC rpmpythonRun(rpmpython python, const char *str, const char **resultp)
Execute python string.
enum rpmRC_e rpmRC
RPM return codes.
rpmRC rpmpythonRunFile(rpmpython python, const char *fn, const char **resultp)
Execute python from a file.