From 4a356bf56051361f2c72037f4fb043f8fdaa576c Mon Sep 17 00:00:00 2001 From: Xavier Del Campo Romero Date: Sat, 15 Nov 2025 18:44:47 +0100 Subject: Add nwp_type_str This private function allows to decode an enum nw_type to a human-readable string. --- private_include/nw/types.h | 1 + 1 file changed, 1 insertion(+) (limited to 'private_include') diff --git a/private_include/nw/types.h b/private_include/nw/types.h index 99e6f55..6fb5317 100644 --- a/private_include/nw/types.h +++ b/private_include/nw/types.h @@ -15,5 +15,6 @@ int nwp_get_type(nw_varint7 type, enum nw_type *vtype); int nwp_type_sz(enum nw_type type, size_t *sz); +const char *nwp_type_str(enum nw_type type); #endif -- cgit v1.2.3