summaryrefslogtreecommitdiff
path: root/src/ralloc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ralloc.c')
-rw-r--r--src/ralloc.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/ralloc.c b/src/ralloc.c
index 896ad9f3155..db3638a54e6 100644
--- a/src/ralloc.c
+++ b/src/ralloc.c
@@ -1201,6 +1201,12 @@ r_alloc_reset_variable (POINTER *old, POINTER *new)
bloc->variable = new;
}
+void
+r_alloc_inhibit_buffer_relocation (int inhibit)
+{
+ use_relocatable_buffers = !inhibit;
+}
+
/***********************************************************************
Initialization