expose RageUtil's BinaryToHex to Lua
The hashing functions that CryptManger currently exposes to Lua return hash strings formatted in binary. Themes using those hash functions may want to compare hex strings. RageUtil already had a BinaryToHex utility; this commit exposes it as a global function, following along with other utility functions in RageUtil.
This commit is contained in:
committed by
quietly-turning
parent
e8725daddd
commit
fdef606b46
@@ -2436,6 +2436,7 @@ LuaFunction( URLEncode, URLEncode( SArg(1) ) );
|
||||
LuaFunction( PrettyPercent, PrettyPercent( FArg(1), FArg(2) ) );
|
||||
//LuaFunction( IsHexVal, IsHexVal( SArg(1) ) );
|
||||
LuaFunction( lerp, lerp(FArg(1), FArg(2), FArg(3)) );
|
||||
LuaFunction( BinaryToHex, BinaryToHex( SArg(1) ) );
|
||||
|
||||
int LuaFunc_commify(lua_State* L);
|
||||
int LuaFunc_commify(lua_State* L)
|
||||
|
||||
Reference in New Issue
Block a user