mirror of
				https://github.com/ruby/ruby.git
				synced 2022-11-09 12:17:21 -05:00 
			
		
		
		
	Show rb_data_type_t definition [ci skip]
[Fix GH-1707] Author: hkdnet <hkdnet@users.noreply.github.com> git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60037 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
		
							parent
							
								
									2461376aee
								
							
						
					
					
						commit
						b9031d7088
					
				
					 2 changed files with 4 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -711,6 +711,8 @@ Dataから派生しない場合には, 必ずrb_undef_alloc_func(klass)
 | 
			
		|||
 | 
			
		||||
rb_data_type_tは次のように定義されています.
 | 
			
		||||
 | 
			
		||||
  typedef struct rb_data_type_struct rb_data_type_t;
 | 
			
		||||
 | 
			
		||||
  struct rb_data_type_struct {
 | 
			
		||||
          const char *wrap_struct_name;
 | 
			
		||||
          struct {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -658,6 +658,8 @@ If it doesn't, you have to call rb_undef_alloc_func(klass).
 | 
			
		|||
rb_data_type_t is defined like this.  Let's take a look at each
 | 
			
		||||
member of the struct.
 | 
			
		||||
 | 
			
		||||
  typedef struct rb_data_type_struct rb_data_type_t;
 | 
			
		||||
 | 
			
		||||
  struct rb_data_type_struct {
 | 
			
		||||
          const char *wrap_struct_name;
 | 
			
		||||
          struct {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue