dd3c6d1303
After some discussion with PVH I realise that the repo structure in the last reorg was very rust-centric. In an attempt to put each language on a level footing move the rust code and project files into ./rust
24 lines
576 B
C
24 lines
576 B
C
#ifndef MACRO_UTILS_H
|
|
#define MACRO_UTILS_H
|
|
|
|
/* local */
|
|
#include <automerge-c/automerge.h>
|
|
|
|
/**
|
|
* \brief Gets the result value discriminant corresponding to a function name
|
|
* suffix.
|
|
*
|
|
* \param[in] suffix A string.
|
|
* \return An `AMvalue` struct discriminant.
|
|
*/
|
|
AMvalueVariant AMvalue_discriminant(char const* suffix);
|
|
|
|
/**
|
|
* \brief Gets the object type tag corresponding to an object type label.
|
|
*
|
|
* \param[in] obj_type_label A string.
|
|
* \return An `AMobjType` enum tag.
|
|
*/
|
|
AMobjType AMobjType_tag(char const* obj_type_label);
|
|
|
|
#endif /* MACRO_UTILS_H */
|