From f56c89fbc105a2d87f02663c5069e7cc1fa5cb6b Mon Sep 17 00:00:00 2001 From: Alex Shinn Date: Tue, 24 Sep 2013 15:51:29 +0900 Subject: [PATCH] Documentation clarification on the arguments to sexp_alloc_tagged from Lorenzo. --- include/chibi/sexp.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/chibi/sexp.h b/include/chibi/sexp.h index e8fb00a8..4e629ee9 100755 --- a/include/chibi/sexp.h +++ b/include/chibi/sexp.h @@ -563,7 +563,7 @@ void* sexp_alloc(sexp ctx, size_t size); #define sexp_with_current_source(file, line) #endif -#define sexp_alloc_tagged(ctx, type, tag) sexp_alloc_tagged_aux(ctx, type, tag sexp_with_current_source(__FILE__, __LINE__)) +#define sexp_alloc_tagged(ctx, size, tag) sexp_alloc_tagged_aux(ctx, size, tag sexp_with_current_source(__FILE__, __LINE__)) #define sexp_alloc_type(ctx, type, tag) sexp_alloc_tagged(ctx, sexp_sizeof(type), tag) #define sexp_alloc_bytecode(ctx, i) sexp_alloc_tagged(ctx, sexp_sizeof(bytecode) + i, SEXP_BYTECODE)