diff options
author | Hwankyu Jhun <h.jhun@samsung.com> | 2016-03-28 07:42:11 +0900 |
---|---|---|
committer | Hwankyu Jhun <h.jhun@samsung.com> | 2016-03-28 08:01:56 +0900 |
commit | b75bc94312b9228bf09dd756bf1ca818c1188223 (patch) | |
tree | 1a65439c726c1904c6246fb090a65ae95e78b0f4 | |
parent | 0d3c51aca073efe28cbbe427642e28addb7d9bfb (diff) | |
download | bundle-b75bc94312b9228bf09dd756bf1ca818c1188223.tar.gz bundle-b75bc94312b9228bf09dd756bf1ca818c1188223.tar.bz2 bundle-b75bc94312b9228bf09dd756bf1ca818c1188223.zip |
Adjust coding rules
Change-Id: I607b6ad95077c8daa547611c67c67374529b4ff8
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
-rwxr-xr-x | doc/bundle_doc.h | 2 | ||||
-rwxr-xr-x | include/bundle.h | 11 | ||||
-rw-r--r-- | src/bundle_json.c | 2 |
3 files changed, 7 insertions, 8 deletions
diff --git a/doc/bundle_doc.h b/doc/bundle_doc.h index 198fecc..263b9d5 100755 --- a/doc/bundle_doc.h +++ b/doc/bundle_doc.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2011 Samsung Electronics Co., Ltd All Rights Reserved + * Copyright (c) 2011 - 2016 Samsung Electronics Co., Ltd All Rights Reserved * * Licensed under the Apache License, Version 2.0 (the License); * you may not use this file except in compliance with the License. diff --git a/include/bundle.h b/include/bundle.h index 202783e..99d8bea 100755 --- a/include/bundle.h +++ b/include/bundle.h @@ -36,16 +36,15 @@ extern "C" { # endif #define API __attribute__((visibility("default"))) -#define likely(x) __builtin_expect(x,1) -#define unlikely(x) __builtin_expect(x,0) +#define likely(x) __builtin_expect(x, 1) +#define unlikely(x) __builtin_expect(x, 0) /** * @brief Enumeration for error code of Bundle. * * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif */ -typedef enum -{ +typedef enum { BUNDLE_ERROR_NONE = TIZEN_ERROR_NONE, /**< Successful */ BUNDLE_ERROR_OUT_OF_MEMORY = TIZEN_ERROR_OUT_OF_MEMORY, /**< Out of memory */ BUNDLE_ERROR_INVALID_PARAMETER = TIZEN_ERROR_INVALID_PARAMETER, /**< Invalid parameter */ @@ -193,8 +192,8 @@ API int bundle_del(bundle *b, const char *key); /** * @brief Gets a string array from a given key. * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif - * @remarks You MUST NOT free or modify the returned string! - * @remarks The specific error code can be obtained using the get_last_result() method. Error codes are described in Exception section. + * @remarks You MUST NOT free or modify the returned string! + * The specific error code can be obtained using the get_last_result() method. Error codes are described in Exception section. * @param[in] b The bundle object * @param[in] key The key * @param[out] len The array length diff --git a/src/bundle_json.c b/src/bundle_json.c index 3b142f5..3f11e3b 100644 --- a/src/bundle_json.c +++ b/src/bundle_json.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 2000 - 2016 Samsung Electronics Co., Ltd. All rights reserved. + * Copyright (c) 2016 Samsung Electronics Co., Ltd. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. |