diff options
author | Elliott Hughes <enh@google.com> | 2011-10-27 12:04:56 -0700 |
---|---|---|
committer | Elliott Hughes <enh@google.com> | 2011-10-27 12:04:56 -0700 |
commit | f7c3b6625d710a8700325eea447f65e9f963b7f2 (patch) | |
tree | 878078368ad75616d32e03a2f380614aa8ce9c36 /src/jdwp/jdwp.h | |
parent | baba887a4f5d2a454ab3f8f36a26346f8fdd0670 (diff) | |
download | art-f7c3b6625d710a8700325eea447f65e9f963b7f2.zip art-f7c3b6625d710a8700325eea447f65e9f963b7f2.tar.gz art-f7c3b6625d710a8700325eea447f65e9f963b7f2.tar.bz2 |
Fix orthography of the jdwp_bits.h functions.
Change-Id: I31ca68e517bcf44570ab329b55f67b29877deff1
Diffstat (limited to 'src/jdwp/jdwp.h')
-rw-r--r-- | src/jdwp/jdwp.h | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/src/jdwp/jdwp.h b/src/jdwp/jdwp.h index a590c27..2eae216 100644 --- a/src/jdwp/jdwp.h +++ b/src/jdwp/jdwp.h @@ -50,16 +50,16 @@ typedef uint64_t FrameId; /* short-lived stack frame ID */ * Match these with the type sizes. This way we don't have to pass * a value and a length. */ -static inline FieldId ReadFieldId(const uint8_t** pBuf) { return read4BE(pBuf); } -static inline MethodId ReadMethodId(const uint8_t** pBuf) { return read4BE(pBuf); } -static inline ObjectId ReadObjectId(const uint8_t** pBuf) { return read8BE(pBuf); } -static inline RefTypeId ReadRefTypeId(const uint8_t** pBuf) { return read8BE(pBuf); } -static inline FrameId ReadFrameId(const uint8_t** pBuf) { return read8BE(pBuf); } -static inline void SetFieldId(uint8_t* buf, FieldId val) { return set4BE(buf, val); } -static inline void SetMethodId(uint8_t* buf, MethodId val) { return set4BE(buf, val); } -static inline void SetObjectId(uint8_t* buf, ObjectId val) { return set8BE(buf, val); } -static inline void SetRefTypeId(uint8_t* buf, RefTypeId val) { return set8BE(buf, val); } -static inline void SetFrameId(uint8_t* buf, FrameId val) { return set8BE(buf, val); } +static inline FieldId ReadFieldId(const uint8_t** pBuf) { return Read4BE(pBuf); } +static inline MethodId ReadMethodId(const uint8_t** pBuf) { return Read4BE(pBuf); } +static inline ObjectId ReadObjectId(const uint8_t** pBuf) { return Read8BE(pBuf); } +static inline RefTypeId ReadRefTypeId(const uint8_t** pBuf) { return Read8BE(pBuf); } +static inline FrameId ReadFrameId(const uint8_t** pBuf) { return Read8BE(pBuf); } +static inline void SetFieldId(uint8_t* buf, FieldId val) { return Set4BE(buf, val); } +static inline void SetMethodId(uint8_t* buf, MethodId val) { return Set4BE(buf, val); } +static inline void SetObjectId(uint8_t* buf, ObjectId val) { return Set8BE(buf, val); } +static inline void SetRefTypeId(uint8_t* buf, RefTypeId val) { return Set8BE(buf, val); } +static inline void SetFrameId(uint8_t* buf, FrameId val) { return Set8BE(buf, val); } static inline void expandBufAddFieldId(ExpandBuf* pReply, FieldId id) { expandBufAdd4BE(pReply, id); } static inline void expandBufAddMethodId(ExpandBuf* pReply, MethodId id) { expandBufAdd4BE(pReply, id); } static inline void expandBufAddObjectId(ExpandBuf* pReply, ObjectId id) { expandBufAdd8BE(pReply, id); } |