From 703d5b96fecbcaa3c1fd21cc55cf3e1e3d689dfd Mon Sep 17 00:00:00 2001 From: William S Fulton Date: Sat, 15 Mar 2014 02:20:38 +0000 Subject: [PATCH] Fix extern "C" --- Source/Modules/lua.cxx | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Source/Modules/lua.cxx b/Source/Modules/lua.cxx index 9bb1374e1..a150ed1c1 100644 --- a/Source/Modules/lua.cxx +++ b/Source/Modules/lua.cxx @@ -73,8 +73,11 @@ void display_mapping(DOH *d) { } } -extern "C" static int compareByLen(const DOH *f, const DOH *s) { - return Len(s) - Len(f); +extern "C" +{ + static int compareByLen(const DOH *f, const DOH *s) { + return Len(s) - Len(f); + } }