mirror of
https://github.com/holub/mame
synced 2025-10-05 08:41:31 +03:00

allow in-place creation (for increased locality) of netlist classes. Main use is in truthtable class. - Remove PLIB_NAMESPACE macros. - Remove namespace macros. Use explicit namespace declarations. - Moved device definitions into cpp files. - Moved more device definitions into cpp files. - New prefix "nlid" for include files flags purely internal include files not to be leaked into userland. - Fix factory code.
33 lines
825 B
C
33 lines
825 B
C
// license:GPL-2.0+
|
|
// copyright-holders:Couriersud
|
|
/*
|
|
* nld_log.h
|
|
*
|
|
* Devices supporting analysis and logging
|
|
*
|
|
* nld_log:
|
|
*
|
|
* +---------+
|
|
* | ++ |
|
|
* I | | ==> Log to file "netlist_" + name() + ".log"
|
|
* | |
|
|
* +---------+
|
|
*
|
|
*/
|
|
|
|
#ifndef NLD_LOG_H_
|
|
#define NLD_LOG_H_
|
|
|
|
#include "nl_setup.h"
|
|
|
|
#define LOG(name, cI) \
|
|
NET_REGISTER_DEV(??PG, name) \
|
|
NET_CONNECT(name, I, cI)
|
|
|
|
#define LOGD(name, cI, cI2) \
|
|
NET_REGISTER_DEV(LOGD, name) \
|
|
NET_CONNECT(name, I, cI) \
|
|
NET_CONNECT(name, I2, cI2)
|
|
|
|
#endif /* NLD_LOG_H_ */
|