diff options
author | Benoit Germain <benoit.germain@ubisoft.com> | 2024-03-18 09:56:44 +0100 |
---|---|---|
committer | Benoit Germain <benoit.germain@ubisoft.com> | 2024-03-19 15:57:52 +0100 |
commit | 37e9658f74f9421aaae5fe71f12eb2221f2d574a (patch) | |
tree | f55aeab48b2b4edf3267aaf1f5459d52c9b7aa36 /src/linda.c | |
parent | 352c7bec48f166e34fa94f7481882a8b5958e15c (diff) | |
download | lanes-37e9658f74f9421aaae5fe71f12eb2221f2d574a.tar.gz lanes-37e9658f74f9421aaae5fe71f12eb2221f2d574a.tar.bz2 lanes-37e9658f74f9421aaae5fe71f12eb2221f2d574a.zip |
C++ migration: buildfixes
Essentially, buildfixes when compiling as C++, plus properly marking public API as extern "C"
Diffstat (limited to 'src/linda.c')
-rw-r--r-- | src/linda.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/linda.c b/src/linda.c index 8b59790..eac6458 100644 --- a/src/linda.c +++ b/src/linda.c | |||
@@ -816,7 +816,7 @@ static void* linda_id( lua_State* L, DeepOp op_) | |||
816 | case eDO_delete: | 816 | case eDO_delete: |
817 | { | 817 | { |
818 | Keeper* K; | 818 | Keeper* K; |
819 | struct s_Linda* linda = lua_touserdata( L, 1); | 819 | struct s_Linda* linda = (struct s_Linda*) lua_touserdata( L, 1); |
820 | ASSERT_L( linda); | 820 | ASSERT_L( linda); |
821 | 821 | ||
822 | // Clean associated structures in the keeper state. | 822 | // Clean associated structures in the keeper state. |