From 5b3ae4c1326e0c85df906ffea49b97b80b13ceae Mon Sep 17 00:00:00 2001 From: Nikias Bassen Date: Wed, 14 Jan 2026 02:50:40 +0100 Subject: Add circular reference detection to all format writers Thanks to @LkkkLxy for pointing out the issue. --- include/plist/plist.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/plist/plist.h') diff --git a/include/plist/plist.h b/include/plist/plist.h index 41af8ce..5ea30b8 100644 --- a/include/plist/plist.h +++ b/include/plist/plist.h @@ -144,6 +144,7 @@ extern "C" PLIST_ERR_PARSE = -3, /**< parsing of the input format failed */ PLIST_ERR_NO_MEM = -4, /**< not enough memory to handle the operation */ PLIST_ERR_IO = -5, /**< I/O error */ + PLIST_ERR_CIRCULAR_REF = -6, /**< circular reference detected */ PLIST_ERR_UNKNOWN = -255 /**< an unspecified error occurred */ } plist_err_t; -- cgit v1.1-32-gdbae