This repository has been archived on 2022-05-21. You can view files and clone it, but cannot push or open issues or pull requests.
LEFTONE/core/locommon/null.c
falsycat 84c3a02b9a [RELEASE] u22-v03
This version is submitted to U22 breau.
2020-09-14 00:00:00 +00:00

21 lines
391 B
C

#include "./null.h"
#include <assert.h>
#include <stdbool.h>
#include <stddef.h>
#include <msgpack.h>
void locommon_null_pack(const locommon_null_t* null, msgpack_packer* packer) {
assert(null != NULL);
assert(null != NULL);
msgpack_pack_nil(packer);
}
bool locommon_null_unpack(locommon_null_t* null, const msgpack_object* obj) {
assert(null != NULL);
return obj != NULL;
}