#include <murphy/common/macros.h>
#include <murphy/common/list.h>
+#include <murphy/common/log.h>
MRP_CDECL_BEGIN
.cleanup = _cleanup \
}; \
\
- mrp_list_init(&interpreter.hook); \
- \
- if (!mrp_resolver_register_interpreter(&interpreter)) \
+ if (!mrp_register_interpreter(&interpreter)) \
mrp_log_error("Failed to register interpreter '%s'.", \
_type); \
else \