diff options
author | 2019-01-10 18:59:34 +0100 | |
---|---|---|
committer | 2019-01-10 18:59:34 +0100 | |
commit | 180ae17f5deea20bd3e816882c2f41e5dcfb4a36 (patch) | |
tree | 67c3d981bd5e2fb8506e604fee86dfaf7f75b685 /src/devices/machine/7474.h | |
parent | 952a17fc12fba54f54994cbd6485bdb91dd2de83 (diff) |
src/devices: more MCFG macros removal (nw)
Diffstat (limited to 'src/devices/machine/7474.h')
-rw-r--r-- | src/devices/machine/7474.h | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/src/devices/machine/7474.h b/src/devices/machine/7474.h index 0a6a678ddfb..0f9d87fa5bf 100644 --- a/src/devices/machine/7474.h +++ b/src/devices/machine/7474.h @@ -45,19 +45,6 @@ #pragma once - - -//************************************************************************** -// INTERFACE CONFIGURATION MACROS -//************************************************************************** - -#define MCFG_7474_OUTPUT_CB(_devcb) \ - downcast<ttl7474_device &>(*device).set_output_cb(DEVCB_##_devcb); - -#define MCFG_7474_COMP_OUTPUT_CB(_devcb) \ - downcast<ttl7474_device &>(*device).set_comp_output_cb(DEVCB_##_devcb); - - //************************************************************************** // TYPE DEFINITIONS //************************************************************************** @@ -71,8 +58,6 @@ public: ttl7474_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock); // static configuration helpers - template <class Object> devcb_base &set_output_cb(Object &&cb) { return m_output_func.set_callback(std::forward<Object>(cb)); } - template <class Object> devcb_base &set_comp_output_cb(Object &&cb) { return m_comp_output_func.set_callback(std::forward<Object>(cb)); } auto output_cb() { return m_output_func.bind(); } auto comp_output_cb() { return m_comp_output_func.bind(); } |