define DM_MAP_OPERATE as deprecated structure

This commit is contained in:
Amin Ben Ramdhane 2021-11-11 11:29:36 +01:00
parent 0fe5d86703
commit 7bc286f7e1
2 changed files with 2 additions and 2 deletions

View file

@ -249,7 +249,7 @@ int load_library_dynamic_arrays(struct dmctx *ctx)
}
//Dynamic Operate is deprecated now. It will be removed later.
DM_MAP_OPERATE *dynamic_operate = NULL;
struct dm_map_operate *dynamic_operate = NULL;
*(void **) (&dynamic_operate) = dlsym(handle, "tDynamicOperate");
if (dynamic_operate) {

View file

@ -247,7 +247,7 @@ typedef struct dm_map_operate {
operation operate;
char *type; // sync or async
operation_args args;
} DM_MAP_OPERATE;
} DM_MAP_OPERATE __attribute__ ((deprecated));
enum set_value_action {
VALUECHECK,