Mercurial > code
changeset 232:420b1710355f
Luae: disable optionals, it is not currently ready
author | David Demelier <markand@malikania.fr> |
---|---|
date | Sun, 22 Jun 2014 16:23:15 +0200 |
parents | 2f1d820e6e33 |
children | 29eb8748b686 |
files | C++/Luae.h |
diffstat | 1 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/C++/Luae.h Sun Jun 22 16:19:31 2014 +0200 +++ b/C++/Luae.h Sun Jun 22 16:23:15 2014 +0200 @@ -1130,7 +1130,8 @@ return TypeInfo<T>::optional(L, index, def); } - + +#if 0 /** * Get an optional userdata, returns the userdata pointer * or a new created one. @@ -1151,6 +1152,7 @@ return ptr; } +#endif /** * Get a custom type with check.