mirror of
				https://github.com/ruby/ruby.git
				synced 2022-11-09 12:17:21 -05:00 
			
		
		
		
	rational.c: remove duplicate macros
* rational.c (RRATIONAL_SET_{NUM,DEN}): also defined in internal.h
  since r53887.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64632 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
			
			
This commit is contained in:
		
							parent
							
								
									868ad2104c
								
							
						
					
					
						commit
						52a23d56ad
					
				
					 1 changed files with 0 additions and 3 deletions
				
			
		| 
						 | 
				
			
			@ -388,9 +388,6 @@ f_lcm(VALUE x, VALUE y)
 | 
			
		|||
#define get_dat2(x,y) \
 | 
			
		||||
    struct RRational *adat = RRATIONAL(x), *bdat = RRATIONAL(y)
 | 
			
		||||
 | 
			
		||||
#define RRATIONAL_SET_NUM(rat, n) RB_OBJ_WRITE((rat), &((struct RRational *)(rat))->num,(n))
 | 
			
		||||
#define RRATIONAL_SET_DEN(rat, d) RB_OBJ_WRITE((rat), &((struct RRational *)(rat))->den,(d))
 | 
			
		||||
 | 
			
		||||
inline static VALUE
 | 
			
		||||
nurat_s_new_internal(VALUE klass, VALUE num, VALUE den)
 | 
			
		||||
{
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue