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