From 0801104762cda684e5728df386cd3962fb0fe3bc Mon Sep 17 00:00:00 2001 From: kyren Date: Fri, 26 Jan 2018 19:27:41 -0500 Subject: ACTUALLY expose `RegistryKey` API Also fixes a safety issue with RegistryKey, where you could use RegistryKeys with mismatching Lua instances. --- src/prelude.rs | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'src/prelude.rs') diff --git a/src/prelude.rs b/src/prelude.rs index 64f6394..9d4b908 100644 --- a/src/prelude.rs +++ b/src/prelude.rs @@ -4,7 +4,8 @@ pub use {AnyUserData as LuaAnyUserData, Error as LuaError, ExternalError as LuaE ExternalResult as LuaExternalResult, FromLua, FromLuaMulti, Function as LuaFunction, Integer as LuaInteger, LightUserData as LuaLightUserData, Lua, MetaMethod as LuaMetaMethod, MultiValue as LuaMultiValue, Nil as LuaNil, - Number as LuaNumber, Result as LuaResult, String as LuaString, Table as LuaTable, - TablePairs as LuaTablePairs, TableSequence as LuaTableSequence, Thread as LuaThread, - ThreadStatus as LuaThreadStatus, ToLua, ToLuaMulti, UserData as LuaUserData, - UserDataMethods as LuaUserDataMethods, Value as LuaValue}; + Number as LuaNumber, RegistryKey as LuaRegistryKey, Result as LuaResult, + String as LuaString, Table as LuaTable, TablePairs as LuaTablePairs, + TableSequence as LuaTableSequence, Thread as LuaThread, ThreadStatus as LuaThreadStatus, + ToLua, ToLuaMulti, UserData as LuaUserData, UserDataMethods as LuaUserDataMethods, + Value as LuaValue}; -- cgit v1.2.3