# HG changeset patch # User David Demelier # Date 1403446995 -7200 # Node ID 420b1710355f667cd6a65c3eea1367ad6f21577d # Parent 2f1d820e6e33434414a59d4bb8818f7340870c15 Luae: disable optionals, it is not currently ready diff -r 2f1d820e6e33 -r 420b1710355f C++/Luae.h --- 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::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.