From e1ab3eac9bb01bc4423d1af08d3a2a89200ee36c Mon Sep 17 00:00:00 2001 From: Pu Cheng Date: Fri, 20 Nov 2026 05:49:41 +0800 Subject: [PATCH] out BUGFIX export ly_out_memory() The definition lacked LIBYANG_API_DEF, so the function declared in out.h was not exported from the shared library and programs calling it failed to link. --- src/out.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/out.c b/src/out.c index 110bb724e..beef7438f 100644 --- a/src/out.c +++ b/src/out.c @@ -270,7 +270,7 @@ ly_out_new_memory(char **strp, size_t size, struct ly_out **out) return LY_SUCCESS; } -char * +LIBYANG_API_DEF char * ly_out_memory(struct ly_out *out, char **strp, size_t size) { char *data;