object name to snake case
This commit is contained in:
parent
c702d832f4
commit
8c40d959e8
File diff suppressed because it is too large
Load diff
|
@ -46,7 +46,7 @@ macro_rules! wrap_method {
|
|||
$impl:block;
|
||||
) => {
|
||||
paste::paste! {
|
||||
$crate::macros::wrap_functions!([< $object_type:lower >];
|
||||
$crate::macros::wrap_functions!(associate $object_type;
|
||||
$(#[$meta])*
|
||||
fn $function(
|
||||
$instance: $ref_or_mut ::core::ptr::NonNull<$object_type>
|
||||
|
@ -246,7 +246,7 @@ macro_rules! wrap_functions {
|
|||
)+
|
||||
) => {
|
||||
::paste::paste! {
|
||||
$crate::macros::wrap_functions!{[< $object_type:lower >];
|
||||
$crate::macros::wrap_functions!{[< $object_type:snake >];
|
||||
$(
|
||||
$(#[$meta])+
|
||||
fn $function($($param_name: $param_modifier $param_type),*) $(-> $return_modifier $return_type)?
|
||||
|
|
Loading…
Reference in a new issue