diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2014-07-10 14:47:37 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2014-07-10 14:47:37 (GMT) |
commit | db863244b804cbf4c06399f7c6f8241d91c9ee9b (patch) | |
tree | da7cc911b0f10c5122536271235ab68f2202804a /plugins/pychrysa/analysis/binaries | |
parent | e8aa314462196cc9e8461ae23eb13f8bffcc983f (diff) |
Fully rewritten the core configuration system.
git-svn-id: svn://svn.gna.org/svn/chrysalide/trunk@381 abbe820e-26c8-41b2-8c08-b7b2b41f8b0a
Diffstat (limited to 'plugins/pychrysa/analysis/binaries')
-rw-r--r-- | plugins/pychrysa/analysis/binaries/file.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/pychrysa/analysis/binaries/file.c b/plugins/pychrysa/analysis/binaries/file.c index e5cc2f1..6bf553b 100644 --- a/plugins/pychrysa/analysis/binaries/file.c +++ b/plugins/pychrysa/analysis/binaries/file.c @@ -155,7 +155,7 @@ PyTypeObject *get_python_binary_file_type(void) * * * Paramètres : module = module dont la définition est à compléter. * * * -* Description : Prend en charge l'objet 'pychrysalide.analysis.LoadedBinary'.* +* Description : Prend en charge l'objet 'pychrysalide.analysis.BinaryFile'. * * * * Retour : Bilan de l'opération. * * * @@ -174,7 +174,7 @@ bool register_python_binary_file(PyObject *module) py_binary_file_type->tp_base = get_python_loaded_binary_type(); py_binary_file_type->tp_basicsize = py_binary_file_type->tp_base->tp_basicsize; - if (PyType_Ready(py_binary_file_type) < 0) + if (PyType_Ready(py_binary_file_type) != 0) return false; Py_INCREF(py_binary_file_type); |