From bb2852df06530f6637b1d05f3a856952360c6281 Mon Sep 17 00:00:00 2001 From: Hardening Date: Fri, 18 Apr 2014 23:07:43 +0200 Subject: [PATCH] Add an helper function for the Key object --- winpr/include/winpr/collections.h | 1 + 1 file changed, 1 insertion(+) diff --git a/winpr/include/winpr/collections.h b/winpr/include/winpr/collections.h index ef7556f79..b1b945b9a 100644 --- a/winpr/include/winpr/collections.h +++ b/winpr/include/winpr/collections.h @@ -197,6 +197,7 @@ struct _wListDictionary }; typedef struct _wListDictionary wListDictionary; +#define ListDictionary_KeyObject(_dictionary) (&_dictionary->objectKey) #define ListDictionary_ValueObject(_dictionary) (&_dictionary->objectValue) WINPR_API int ListDictionary_Count(wListDictionary* listDictionary);