diff options
author | 2012-07-25 17:51:43 +0900 | |
---|---|---|
committer | 2012-07-25 18:56:51 +0900 | |
commit | 0bbb917d12358e0264796e75dea888f244761b64 (patch) | |
tree | f76662d6f1962d08021b4949d1c9e6585050c6b7 /native/jni/src/defines.h | |
parent | 0657b9698a110f8e895448d829478982ce37b6d1 (diff) | |
download | latinime-0bbb917d12358e0264796e75dea888f244761b64.tar.gz latinime-0bbb917d12358e0264796e75dea888f244761b64.tar.xz latinime-0bbb917d12358e0264796e75dea888f244761b64.zip |
Cosmetic fixes and style fixes
Change-Id: I69c42ff945cdf0d5205c6ca61d6861a0479492dc
Diffstat (limited to 'native/jni/src/defines.h')
-rw-r--r-- | native/jni/src/defines.h | 35 |
1 files changed, 17 insertions, 18 deletions
diff --git a/native/jni/src/defines.h b/native/jni/src/defines.h index c7d3bf313..a4086f58d 100644 --- a/native/jni/src/defines.h +++ b/native/jni/src/defines.h @@ -1,19 +1,19 @@ /* -** -** Copyright 2010, The Android Open Source Project -** -** Licensed under the Apache License, Version 2.0 (the "License"); -** you may not use this file except in compliance with the License. -** You may obtain a copy of the License at -** -** http://www.apache.org/licenses/LICENSE-2.0 -** -** Unless required by applicable law or agreed to in writing, software -** distributed under the License is distributed on an "AS IS" BASIS, -** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -** See the License for the specific language governing permissions and -** limitations under the License. -*/ + * + * Copyright 2010, The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ #ifndef LATINIME_DEFINES_H #define LATINIME_DEFINES_H @@ -26,7 +26,7 @@ #define DUMP_WORD(word, length) do { dumpWord(word, length); } while(0) #define DUMP_WORD_INT(word, length) do { dumpWordInt(word, length); } while(0) -static inline void dumpWord(const unsigned short* word, const int length) { +static inline void dumpWord(const unsigned short *word, const int length) { static char charBuf[50]; for (int i = 0; i < length; ++i) { @@ -36,7 +36,7 @@ static inline void dumpWord(const unsigned short* word, const int length) { AKLOGI("[ %s ]", charBuf); } -static inline void dumpWordInt(const int* word, const int length) { +static inline void dumpWordInt(const int *word, const int length) { static char charBuf[50]; for (int i = 0; i < length; ++i) { @@ -313,5 +313,4 @@ typedef enum { // Additional proximity char which can differ by language. ADDITIONAL_PROXIMITY_CHAR } ProximityType; - #endif // LATINIME_DEFINES_H |