summaryrefslogtreecommitdiff
path: root/plugins/pychrysalide/arch/module.c
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2025-03-17 07:36:58 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2025-03-17 07:36:58 (GMT)
commita28e1b94a83bee9a2424ab84818a5547eafaf0cf (patch)
treeecaf5556433afd4f19f4bfcbf378cdde3f619e51 /plugins/pychrysalide/arch/module.c
parentb18c64b69c8c048c640b5d9f6c45b1cfda605ae8 (diff)
Restore the definition of main operands.gtk4
Diffstat (limited to 'plugins/pychrysalide/arch/module.c')
-rw-r--r--plugins/pychrysalide/arch/module.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/plugins/pychrysalide/arch/module.c b/plugins/pychrysalide/arch/module.c
index 0127348..3f52a58 100644
--- a/plugins/pychrysalide/arch/module.c
+++ b/plugins/pychrysalide/arch/module.c
@@ -31,16 +31,16 @@
/*
#include "context.h"
#include "instriter.h"
-#include "instruction.h"
+*/
+//#include "instruction.h"
#include "operand.h"
-#include "processor.h"
+//#include "processor.h"
#include "register.h"
-*/
#include "vmpa.h"
/*
#include "instructions/module.h"
-#include "operands/module.h"
*/
+#include "operands/module.h"
#include "../helpers.h"
@@ -79,8 +79,8 @@ bool add_arch_module(PyObject *super)
/*
if (result) result = add_arch_instructions_module(module);
- if (result) result = add_arch_operands_module(module);
*/
+ if (result) result = add_arch_operands_module(module);
return result;
@@ -108,18 +108,18 @@ bool populate_arch_module(void)
/*
if (result) result = ensure_python_proc_context_is_registered();
if (result) result = ensure_python_instr_iterator_is_registered();
- if (result) result = ensure_python_arch_instruction_is_registered();
+ */
+ //if (result) result = ensure_python_arch_instruction_is_registered();
if (result) result = ensure_python_arch_operand_is_registered();
- if (result) result = ensure_python_arch_processor_is_registered();
+ //if (result) result = ensure_python_arch_processor_is_registered();
if (result) result = ensure_python_arch_register_is_registered();
- */
if (result) result = ensure_python_vmpa_is_registered();
if (result) result = ensure_python_mrange_is_registered();
/*
if (result) result = populate_arch_instructions_module();
- if (result) result = populate_arch_operands_module();
*/
+ if (result) result = populate_arch_operands_module();
assert(result);