Improve a safety check when writing data into StatBuffer
[mono.git] / mono / dis / declsec.h
1 /*
2  * declsec.h:  Support for the new declarative security attribute
3  *      metadata format (2.0)
4  *
5  * Author:
6  *      Sebastien Pouliot  <sebastien@ximian.com>
7  *
8  * Copyright (C) 2005 Novell, Inc (http://www.novell.com)
9  */
10
11 #ifndef __MONODIS_DECLSEC_H__
12 #define __MONODIS_DECLSEC_H__
13
14 #define MONO_DECLSEC_FORMAT_20          0x2E
15
16 #define MONO_DECLSEC_FIELD              0x53
17 #define MONO_DECLSEC_PROPERTY           0x54
18 #define MONO_DECLSEC_ENUM               0x55
19
20 #define MONO_TYPE_SYSTEM_TYPE           0x50
21
22 char* dump_declsec_entry20 (MonoImage *m, const char* p, const char *indent);
23
24 #endif /* __MONODIS_DECLSEC_H__ */