Revise function hashing.
This commit is contained in:
@@ -142,10 +142,10 @@ pub use fn_native::Shared;
|
||||
use fn_native::Locked;
|
||||
|
||||
#[cfg(feature = "internals")]
|
||||
pub use utils::{calc_native_fn_hash, calc_script_fn_hash, HashableHashMap};
|
||||
pub use utils::{calc_fn_hash, calc_fn_params_hash, combine_hashes, HashableHashMap};
|
||||
|
||||
#[cfg(not(feature = "internals"))]
|
||||
pub(crate) use utils::{calc_native_fn_hash, calc_script_fn_hash};
|
||||
pub(crate) use utils::{calc_fn_hash, calc_fn_params_hash, combine_hashes};
|
||||
|
||||
pub use rhai_codegen::*;
|
||||
|
||||
@@ -195,8 +195,8 @@ pub use token::{get_next_token, parse_string_literal, InputStream, Token, Tokeni
|
||||
#[cfg(feature = "internals")]
|
||||
#[deprecated = "this type is volatile and may change"]
|
||||
pub use ast::{
|
||||
ASTNode, BinaryExpr, CustomExpr, Expr, FloatWrapper, FnCallExpr, Ident, ReturnType,
|
||||
ScriptFnDef, Stmt,
|
||||
ASTNode, BinaryExpr, CustomExpr, Expr, FloatWrapper, FnCallExpr, FnHash, Ident, OpAssignment,
|
||||
ReturnType, ScriptFnDef, Stmt,
|
||||
};
|
||||
|
||||
#[cfg(feature = "internals")]
|
||||
|
Reference in New Issue
Block a user