libweed  2.0.0
Macros
weed-utils.h File Reference
#include <weed/weed.h>

Go to the source code of this file.

Macros

#define WEED_LEAF_GET(plant, key, type)   weed_get_##type##_value(plant, key, NULL)
 
#define WEED_LEAF_GET_ARRAY_COUNTED(plant, key, type, counter)   weed_get_##type##_array_counted(plant, key, &count)
 
#define WEED_LEAF_SET(plant, key, type, value)   weed_set_##type##_value(plant, key, value)
 
#define WEED_LEAF_SET_ARRAY(plant, key, type, nvals, array)   weed_set_##type##_array(plant, key, nvals, array)
 
#define WEED_LEAF_MIN_WEED_API_VERSION   "min_weed_api_version"
 
#define WEED_LEAF_MAX_WEED_API_VERSION   "max_weed_api_version"
 
#define WEED_LEAF_MIN_WEED_ABI_VERSION   WEED_LEAF_MIN_WEED_API_VERSION
 
#define WEED_LEAF_MAX_WEED_ABI_VERSION   WEED_LEAF_MAX_WEED_API_VERSION
 
#define WEED_LEAF_MIN_FILTER_API_VERSION   "min_weed_filter_version"
 
#define WEED_LEAF_MAX_FILTER_API_VERSION   "max_weed_filter_version"
 

Macro Definition Documentation

◆ WEED_LEAF_GET

#define WEED_LEAF_GET (   plant,
  key,
  type 
)    weed_get_##type##_value(plant, key, NULL)

◆ WEED_LEAF_GET_ARRAY_COUNTED

#define WEED_LEAF_GET_ARRAY_COUNTED (   plant,
  key,
  type,
  counter 
)    weed_get_##type##_array_counted(plant, key, &count)

◆ WEED_LEAF_MAX_FILTER_API_VERSION

#define WEED_LEAF_MAX_FILTER_API_VERSION   "max_weed_filter_version"

◆ WEED_LEAF_MAX_WEED_ABI_VERSION

#define WEED_LEAF_MAX_WEED_ABI_VERSION   WEED_LEAF_MAX_WEED_API_VERSION

◆ WEED_LEAF_MAX_WEED_API_VERSION

#define WEED_LEAF_MAX_WEED_API_VERSION   "max_weed_api_version"

◆ WEED_LEAF_MIN_FILTER_API_VERSION

#define WEED_LEAF_MIN_FILTER_API_VERSION   "min_weed_filter_version"

◆ WEED_LEAF_MIN_WEED_ABI_VERSION

#define WEED_LEAF_MIN_WEED_ABI_VERSION   WEED_LEAF_MIN_WEED_API_VERSION

◆ WEED_LEAF_MIN_WEED_API_VERSION

#define WEED_LEAF_MIN_WEED_API_VERSION   "min_weed_api_version"

◆ WEED_LEAF_SET

#define WEED_LEAF_SET (   plant,
  key,
  type,
  value 
)    weed_set_##type##_value(plant, key, value)

◆ WEED_LEAF_SET_ARRAY

#define WEED_LEAF_SET_ARRAY (   plant,
  key,
  type,
  nvals,
  array 
)    weed_set_##type##_array(plant, key, nvals, array)