python: expose is_vendor()

Signed-off-by: Alexander Bezzubov <bzz@apache.org>
This commit is contained in:
Alexander Bezzubov
2019-06-01 21:30:07 +02:00
parent be583cad06
commit 6cf5bf2ca4
2 changed files with 26 additions and 2 deletions

View File

@ -23,6 +23,8 @@ struct GetLanguageByFilename_return {
};
extern struct GetLanguageByFilename_return GetLanguageByFilename(GoString p0);
extern GoUint8 IsVendor(GoString p0);
""")
# set_source() gives the name of the python extension module to