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