Closed 4LT closed 1 year ago
Oops, the output of #[proc]
contains some clib::
s which expose the crate clib
.
I will convert all of clib::
to tcl::reexport_clib::
in tcl_derive 0.1.1 and add the following in tcl 0.1.3:
pub mod reexport_clib {
pub use clib::{
ClientData,
TCL_ERROR,
TCL_OK,
Tcl_Interp,
Tcl_InvalidateStringRep,
Tcl_Obj,
Tcl_SetObjResult,
Tcl_WrongNumArgs,
};
}
Just created a new branch "develop" and remove the requirement of "clib" dependency when using tcl_derive
's proc macros.
Attempting to use the
tclfn
macro imported fromtcl
into my own crate/module results in the following error: