/* call-seq: * player.callsign -> String * * This method returns the callsign of the player. */ static VALUE playerRecord_getCallsign(VALUE self) { bz_PlayerRecord *playerRecord; Data_Get_Struct(self, bz_PlayerRecord, playerRecord); return rb_str_new2(playerRecord->callsign.c_str()); }