Skip to content

Commit

Permalink
Squashed '3rdparty/toluapp/' changes from db877c5d..afe3be74
Browse files Browse the repository at this point in the history
afe3be74 Enable std c99 (#5)

git-subtree-dir: 3rdparty/toluapp
git-subtree-split: afe3be74401a5e3fa592ddc1b0c625862ea3301d
  • Loading branch information
brndnmtthws committed Dec 22, 2018
1 parent f0eb4a3 commit ebfbb3f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/tolua++.h
Original file line number Diff line number Diff line change
Expand Up @@ -140,13 +140,13 @@ static inline const char* tolua_tocppstring (lua_State* L, int narg, const char*

const char* s = tolua_tostring(L, narg, def);
return s?s:"";
};
}

static inline const char* tolua_tofieldcppstring (lua_State* L, int lo, int index, const char* def) {

const char* s = tolua_tofieldstring(L, lo, index, def);
return s?s:"";
};
}

#else
#define tolua_tocppstring tolua_tostring
Expand Down

0 comments on commit ebfbb3f

Please sign in to comment.