Help for this page

Select Code to Download


  1. or download this
    
      use Class::HPLOO ;
    ...
          
      }
    
  2. or download this
    
    package Point ;
    ...
    
    1;
    
  3. or download this
    
      use Class::HPLOO ;
    ...
      }
    
  4. or download this
        sub[C] void move_y( SV* self , int mv_y ) {
          int y = self->{y}->int + mv_y ;
          self->{y} = int2sv(y) ;
        }
    
  5. or download this
        sub[C] SV* get_xy_ref( SV* self ) {
          AV* ret = newAV() ; // create an array.
    ...
          
          return \{ret} ; // return a reference to the array.
        }
    
  6. or download this
    
        sub[C] SV* get_xy_ref( SV* self ) {
    ...
          return newRV_inc( ret ) ;
        }