From b137bd32940c08f39e9e61c9ec3be2e18c1b93cd Mon Sep 17 00:00:00 2001 From: Cyrille Bagard Date: Sat, 19 May 2018 15:09:40 +0200 Subject: Registered symbols status identifiers in the Python bindings. --- plugins/pychrysalide/format/symbol.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/plugins/pychrysalide/format/symbol.c b/plugins/pychrysalide/format/symbol.c index 5ddaca2..ae13cf2 100644 --- a/plugins/pychrysalide/format/symbol.c +++ b/plugins/pychrysalide/format/symbol.c @@ -342,6 +342,10 @@ static bool py_binary_symbol_define_constants(PyTypeObject *obj_type) result &= PyDict_AddIntMacro(obj_type, STP_RO_STRING); result &= PyDict_AddIntMacro(obj_type, STP_COUNT); + result &= PyDict_AddIntMacro(obj_type, SSS_INTERNAL); + result &= PyDict_AddIntMacro(obj_type, SSS_EXPORTED); + result &= PyDict_AddIntMacro(obj_type, SSS_IMPORTED); + return result; } -- cgit v0.11.2-87-g4458