mame/src/lib/netlist/devices/nld_log.h
balr0g b277908905 - Minor cosmetic refactoring. Added a "uninitialised array" template to
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.
2016-06-07 21:40:30 +02:00

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_ */