Previous 199869 Revisions Next

r18845 Sunday 4th November, 2012 at 16:35:31 UTC by R. Belmont
netlist: Symbols starting with _ are reserved in many BSD-derived environments. [Robert Muth]
[src/emu/machine]netlist.h

trunk/src/emu/machine/netlist.h
r18844r18845
11251125   template<bool _Required, class _NETClass>
11261126   class output_finder;
11271127   class optional_output;
1128   template<class _C>
1128   template<class C>
11291129   class required_output;
11301130   class optional_param;
11311131   class required_param;
r18844r18845
12241224};
12251225
12261226// required devices are similar but throw an error if they are not found
1227template<class _C>
1228class netlist_mame_device::required_output : public netlist_mame_device::output_finder<true, _C>
1227template<class C>
1228class netlist_mame_device::required_output : public netlist_mame_device::output_finder<true, C>
12291229{
12301230public:
1231   required_output(device_t &base, const char *tag, const char *output) : output_finder<true, _C>(base, tag, output) { }
1231   required_output(device_t &base, const char *tag, const char *output) : output_finder<true, C>(base, tag, output) { }
12321232
12331233   virtual bool OnDeviceStart()
12341234   {
1235      this->m_target = (_C *) &(this->m_netlist->setup().find_output(this->m_output));
1235      this->m_target = (C *) &(this->m_netlist->setup().find_output(this->m_output));
12361236      return this->report_missing(this->m_target != NULL, "output", true);
12371237   }
12381238

Previous 199869 Revisions Next


© 1997-2024 The MAME Team