summaryrefslogtreecommitdiff
path: root/src/arch/instruction.h
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2018-08-06 17:08:01 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2018-08-06 17:08:01 (GMT)
commitebfc6a8ebcef2b42beb6ef12e4946bb2f73f2723 (patch)
tree2a1eeb714ea15ff0ca0da9cada3c5aeb38a7e1cc /src/arch/instruction.h
parentcdfe7b0efbb358fdb3fff8f6d5a8d34d89b220e5 (diff)
Secured the links between instructions.
Diffstat (limited to 'src/arch/instruction.h')
-rw-r--r--src/arch/instruction.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/arch/instruction.h b/src/arch/instruction.h
index 0c8510a..8289a43 100644
--- a/src/arch/instruction.h
+++ b/src/arch/instruction.h
@@ -227,6 +227,9 @@ void g_arch_instruction_link_with(GArchInstruction *, GArchInstruction *, Instru
/* Change la nature d'un lien entre deux instructions. */
bool g_arch_instruction_change_link(GArchInstruction *, GArchInstruction *, InstructionLinkType, InstructionLinkType);
+/* Supprime tous les liens établis avec d'autres instructions. */
+void g_arch_instruction_delete_all_links(GArchInstruction *);
+
#define g_arch_instruction_lock_src(ins) g_arch_instruction_lock_unlock_links(ins, true, true)
#define g_arch_instruction_unlock_src(ins) g_arch_instruction_lock_unlock_links(ins, true, false)