X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=mono%2Fmini%2Fdeclsec.h;h=4c45a94171b1fa1c66af3158d08e7d70016c09fe;hb=3dd824a7c5306569fbbe08e0f3e54f36619822d6;hp=12d685bd27cf67cdcad4ee2c45fc5db2fec5b46f;hpb=0443306d611d0830e27327e1f0a3ef3457dfa535;p=mono.git diff --git a/mono/mini/declsec.h b/mono/mini/declsec.h index 12d685bd27c..4c45a94171b 100644 --- a/mono/mini/declsec.h +++ b/mono/mini/declsec.h @@ -19,14 +19,11 @@ #include "mono/metadata/marshal.h" #include "mono/metadata/security-manager.h" #include "mono/metadata/exception.h" +#include "mono/utils/mono-compiler.h" /* Definitions */ -#define MONO_SECMAN_FLAG_INIT(x) (x & 0x2) -#define MONO_SECMAN_FLAG_GET_VALUE(x) (x & 0x1) -#define MONO_SECMAN_FLAG_SET_VALUE(x,y) do { x = ((y) ? 0x3 : 0x2); } while (0) - #define MONO_CAS_INITIAL_STACK_SIZE 6 @@ -57,10 +54,10 @@ enum { }; /* Prototypes */ -MonoBoolean mono_method_has_declsec (MonoMethod *method); -void mono_declsec_cache_stack_modifiers (MonoJitInfo *jinfo); -MonoSecurityFrame* mono_declsec_create_frame (MonoDomain *domain, MonoJitInfo *jinfo); +MonoBoolean mono_method_has_declsec (MonoMethod *method) MONO_INTERNAL; +void mono_declsec_cache_stack_modifiers (MonoJitInfo *jinfo) MONO_INTERNAL; +MonoSecurityFrame* mono_declsec_create_frame (MonoDomain *domain, MonoJitInfo *jinfo) MONO_INTERNAL; -guint32 mono_declsec_linkdemand (MonoDomain *domain, MonoMethod *caller, MonoMethod *callee); +guint32 mono_declsec_linkdemand (MonoDomain *domain, MonoMethod *caller, MonoMethod *callee) MONO_INTERNAL; #endif /* _MONO_MINI_DECLSEC_H_ */