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)
rpmRC rpmpythonRunFile(rpmpython python, const char *fn, const char **resultp)
Execute python from a file.
#define rpmpythonUnlink(_python)
enum rpmRC_e rpmRC
RPM return codes.
#define rpmpythonLink(_python)
rpmRC rpmpythonRun(rpmpython python, const char *str, const char **resultp)
Execute python string.
struct rpmpython_s * rpmpython
rpmpython rpmpythonNew(char **av, uint32_t flags)
Create and load a python interpreter.