Add version command
This commit is contained in:
@@ -25,6 +25,16 @@ pub fn version() -> &'static str {
|
||||
LUAJIT_VERSION.to_str().unwrap()
|
||||
}
|
||||
|
||||
/// LuaJIT copyright string.
|
||||
pub fn copyright() -> &'static str {
|
||||
LUAJIT_COPYRIGHT.to_str().unwrap()
|
||||
}
|
||||
|
||||
/// LuaJIT URL string.
|
||||
pub fn url() -> &'static str {
|
||||
LUAJIT_URL.to_str().unwrap()
|
||||
}
|
||||
|
||||
/// Lua error.
|
||||
#[derive(Debug, Error)]
|
||||
#[non_exhaustive]
|
||||
|
||||
Reference in New Issue
Block a user