diff --git a/doc/API.txt b/doc/API.txt index 86c5bb0d..213f60c3 100644 --- a/doc/API.txt +++ b/doc/API.txt @@ -7,4 +7,4 @@ V0.2.*: * worker_sync takes a 'worker_t' as an additional parameter (This allows to perform a wait-on-event instead of a busy waiting). * worker_init takes an int as numWorker instead of an unsingned int. * RBTREE pop method has been renamed into _pop_at - + * SNAPSHOT_DEF has been removed. use SNAPSHOT_SPSC_DEF diff --git a/m-snapshot.h b/m-snapshot.h index 659b8f06..04c0a6ed 100644 --- a/m-snapshot.h +++ b/m-snapshot.h @@ -29,9 +29,6 @@ #include "m-core.h" #include "m-genint.h" -// For compatibility with previous version -#define SNAPSHOT_DEF SNAPSHOT_SPSC_DEF - /* Define a SRSW snapshot and it function USAGE: SNAPSHOT_SPSC_DEF(name, type[, oplist]) */ #define SNAPSHOT_SPSC_DEF(name, ...) \ diff --git a/tests/test-msnapshot.c b/tests/test-msnapshot.c index 6ae7815c..3ff6306d 100644 --- a/tests/test-msnapshot.c +++ b/tests/test-msnapshot.c @@ -51,7 +51,7 @@ SNAPSHOT_SPSC_DEF(snapshot_mpz, testobj_t, TESTOBJ_OPLIST) SNAPSHOT_SPMC_DEF(snapshot_mrsw_data, data_t, DATA_OPLIST) SNAPSHOT_MPMC_DEF(snapshot_mrmw_data, data_t, DATA_OPLIST) END_COVERAGE -SNAPSHOT_DEF(snapshot_data, data_t, DATA_OPLIST ) +SNAPSHOT_SPSC_DEF(snapshot_data, data_t, DATA_OPLIST ) static void test_uint(void)