aboutsummaryrefslogtreecommitdiff
path: root/src/lib_ffi.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib_ffi.c')
-rw-r--r--src/lib_ffi.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib_ffi.c b/src/lib_ffi.c
index 46f27e01..2ac8290b 100644
--- a/src/lib_ffi.c
+++ b/src/lib_ffi.c
@@ -29,6 +29,7 @@
29#include "lj_ccall.h" 29#include "lj_ccall.h"
30#include "lj_ccallback.h" 30#include "lj_ccallback.h"
31#include "lj_clib.h" 31#include "lj_clib.h"
32#include "lj_strfmt.h"
32#include "lj_ff.h" 33#include "lj_ff.h"
33#include "lj_lib.h" 34#include "lj_lib.h"
34 35
@@ -317,7 +318,7 @@ LJLIB_CF(ffi_meta___tostring)
317 } 318 }
318 } 319 }
319 } 320 }
320 lj_str_pushf(L, msg, strdata(lj_ctype_repr(L, id, NULL)), p); 321 lj_strfmt_pushf(L, msg, strdata(lj_ctype_repr(L, id, NULL)), p);
321checkgc: 322checkgc:
322 lj_gc_check(L); 323 lj_gc_check(L);
323 return 1; 324 return 1;