Skip to content
Snippets Groups Projects
Commit 2af8611b authored by Andrey Saranchin's avatar Andrey Saranchin Committed by Serge Petrenko
Browse files

test: include lua headers in extern "C" scope

Lua headers don't have C++ guards which means all Lua symbols are
mangled as C++ ones when the files included in a C++ source file,
but then the linker fails because all Lua functions are exported
with C mangling. Let's include lua headers in extern "C" scope to
allow to use "lua_test_utils.h" in unit tests written in C++.

NO_CHANGELOG=test
NO_DOC=test
parent 60cbfbe4
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment