[interp] Small fixes (#11667)
[mono-project.git] / mono / metadata / property-bag.h
blobb6eef75d382313f95960edaa5bf70c4706efc7ae
1 /**
2 * \file
3 * Linearizable property bag.
5 * Authors:
6 * Rodrigo Kumpera (kumpera@gmail.com)
8 * Licensed under the MIT license. See LICENSE file in the project root for full license information.
9 */
10 #ifndef __MONO_METADATA_PROPERTY_BAG_H__
11 #define __MONO_METADATA_PROPERTY_BAG_H__
13 #include <mono/utils/mono-compiler.h>
15 typedef struct _MonoPropertyBagItem MonoPropertyBagItem;
17 struct _MonoPropertyBagItem {
18 MonoPropertyBagItem *next;
19 int tag;
22 typedef struct {
23 MonoPropertyBagItem *head;
24 } MonoPropertyBag;
26 void* mono_property_bag_get (MonoPropertyBag *bag, int tag);
27 void* mono_property_bag_add (MonoPropertyBag *bag, void *value);
29 #endif