object name to snake case
This commit is contained in:
		
							parent
							
								
									c702d832f4
								
							
						
					
					
						commit
						41fbdbf3a3
					
				
					 10 changed files with 712 additions and 694 deletions
				
			
		| 
						 | 
				
			
			@ -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…
	
	Add table
		Add a link
		
	
		Reference in a new issue