Signed-off-by: Vegard Nossum <[email protected]>
---
include/vm/field.h | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/include/vm/field.h b/include/vm/field.h
index 6f0bc89..4a5a557 100644
--- a/include/vm/field.h
+++ b/include/vm/field.h
@@ -28,17 +28,17 @@ int vm_field_init(struct vm_field *vmf,
void vm_field_init_nonstatic(struct vm_field *vmf, unsigned int offset);
int vm_field_init_static(struct vm_field *vmf, unsigned int offset);
-static inline bool vm_field_is_static(struct vm_field *vmf)
+static inline bool vm_field_is_static(const struct vm_field *vmf)
{
return vmf->field->access_flags & CAFEBABE_FIELD_ACC_STATIC;
}
-static inline bool vm_field_is_final(struct vm_field *vmf)
+static inline bool vm_field_is_final(const struct vm_field *vmf)
{
return vmf->field->access_flags & CAFEBABE_FIELD_ACC_FINAL;
}
-static inline enum vm_type vm_field_type(struct vm_field *vmf)
+static inline enum vm_type vm_field_type(const struct vm_field *vmf)
{
return str_to_type(vmf->type);
}
--
1.6.0.4
------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge
This is your chance to win up to $100,000 in prizes! For a limited time,
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
Jatovm-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jatovm-devel