/* call-seq: * player.wins -> Fixnum * * This method returns the win value of the player */ static VALUE playerRecord_getWins(VALUE self) { bz_PlayerRecord *playerRecord; Data_Get_Struct(self, bz_PlayerRecord, playerRecord); return INT2FIX(playerRecord->wins); }