Sha256: 4f839b81dbdca6f57900f7f5239cc130931a0f4749d32a1a9a41e89d3cef68e0

Contents?: true

Size: 510 Bytes

Versions: 8

Compression:

Stored size: 510 Bytes

Contents

#ifndef COMMON_H
#define COMMON_H

#include <stddef.h>
#include <stdio.h>
#include <stdlib.h>
#include "vpi_user.h"
#include <stdbool.h>
#include <stdint.h>
#define UNUSED(x) (void)(x)

#define ENABLE_DEBUG

#ifdef ENABLE_DEBUG
/* #define DEBUG(fmt, args...) fprintf(stderr, "DEBUG: %s:%d:%s(): " fmt, \
    __FILE__, __LINE__, __func__, ##args) */
 #define DEBUG(fmt, args...) fprintf(stderr, "[DEBUG] " fmt, ##args)
#else
 #define DEBUG(fmt, args...) /* Don't do anything in release builds */
#endif

#endif

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
origen_sim-0.8.0 ext/common.h
origen_sim-0.7.0 ext/common.h
origen_sim-0.6.0 ext/common.h
origen_sim-0.5.5 ext/common.h
origen_sim-0.5.4 ext/common.h
origen_sim-0.5.3 ext/common.h
origen_sim-0.5.2 ext/common.h
origen_sim-0.5.1 ext/common.h