mirror of
				https://github.com/ruby/ruby.git
				synced 2022-11-09 12:17:21 -05:00 
			
		
		
		
	Use rb_mod_name instead of classname
classname() is static function. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56801 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
		
							parent
							
								
									af36e316d7
								
							
						
					
					
						commit
						ed83af606a
					
				
					 1 changed files with 1 additions and 2 deletions
				
			
		
							
								
								
									
										3
									
								
								.gdbinit
									
										
									
									
									
								
							
							
						
						
									
										3
									
								
								.gdbinit
									
										
									
									
									
								
							| 
						 | 
				
			
			@ -875,8 +875,7 @@ end
 | 
			
		|||
 | 
			
		||||
define rb_classname
 | 
			
		||||
  # up to 128bit int
 | 
			
		||||
  set $rb_classname_permanent = "0123456789ABCDEF"
 | 
			
		||||
  set $rb_classname = classname($arg0, $rb_classname_permanent)
 | 
			
		||||
  set $rb_classname = rb_mod_name($arg0)
 | 
			
		||||
  if $rb_classname != RUBY_Qnil
 | 
			
		||||
    rp $rb_classname
 | 
			
		||||
  else
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue