Add an helper function for the Key object
authorHardening <rdp.effort@gmail.com>
Fri, 18 Apr 2014 21:07:43 +0000 (23:07 +0200)
committerHardening <rdp.effort@gmail.com>
Fri, 18 Apr 2014 21:07:43 +0000 (23:07 +0200)
winpr/include/winpr/collections.h

index ef7556f..b1b945b 100644 (file)
@@ -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);