Changeset 525

Show
Ignore:
Timestamp:
05/02/07 20:41:57 (2 years ago)
Author:
hachi
Message:

Switch a couple int types to IV. Trying to be more consistent in the usage of perly types.
Move constant include down so it's after the #defines for the actual constants I'm about to include.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/client-xs-20070328/Cache-Memcached-GetParserXS/GetParserXS.xs

    r486 r525  
    44 
    55#include "ppport.h" 
    6  
    7 #include "const-c.inc" 
    86 
    97#define DEST     0  /* destination hashref we're writing into */ 
     
    1917#define DEBUG    0 
    2018 
     19#include "const-c.inc" 
     20 
    2121int get_nslen (AV* self) { 
    2222  SV** svp = av_fetch(self, NSLEN, 0); 
     
    8484} 
    8585 
    86 inline int get_state (AV* self) { 
     86inline IV get_state (AV* self) { 
    8787  SV** svp = av_fetch(self, STATE, 0); 
    8888  if (svp) 
     
    266266  AV* self = (AV*) SvRV(selfref); 
    267267  HV* ret = get_dest(self); 
    268   int state = get_state(self); 
     268  IV state = get_state(self); 
    269269 
    270270  if (state) {