Fixed get instance for setting client.
[platform/framework/native/appfw.git] / inc / FBaseResult.h
index 75aa944..2a3dd28 100644 (file)
@@ -54,41 +54,42 @@ _OSP_EXPORT_ void RegisterErrorTable(unsigned long package, struct ErrorTable* p
 
 _OSP_EXPORT_ const char* GetErrorMessage(result value);
 
-_OSP_EXPORT_ result TransExceptionsExclusiveInternal(result r, result e, int num,...);
+_OSP_EXPORT_ result TransExceptionsExclusiveInternal(result r, result e, int num, ...);
 
-_OSP_EXPORT_ result TransExceptionsInclusiveInternal(result r, result e, int num,...);
+_OSP_EXPORT_ result TransExceptionsInclusiveInternal(result r, result e, int num, ...);
 
-#define NUMARGS(...)  (sizeof((result[]){0, ##__VA_ARGS__})/sizeof(result)-1)
+#define NUMARGS(...)  (sizeof((result[]){0, ## __VA_ARGS__}    \
+       ) / sizeof(result) - 1)
 
 /**
 * This macro returns translated exception when the checked exception doesn't correspond with the conditional exceptions.
-* In contrast, this macro returns the checked exception if it corresponds with the conditional exceptions. 
+* In contrast, this macro returns the checked exception if it corresponds with the conditional exceptions.
 *
 * @since 2.0
 *
-* @return         The translated exception 
-* @param[in]   r              The result that will be checked
-* @param[in]   e              The translated exception
-* @param[in]   ...            The list of exceptions that will be excluded in translation process @n
-*                             All other exceptions than this list will be translated into @c e. 
+* @return                                      The translated exception
+* @param[in]   r                       The result that will be checked
+* @param[in]   e                       The translated exception
+* @param[in]   ...                     The list of exceptions that will be excluded in translation process @n
+*                                                      All other exceptions than this list will be translated into @c e.
 *
 *
 */
 
 #define TransExceptionsExclusive(r, e, ...)     TransExceptionsExclusiveInternal(r, e, NUMARGS(__VA_ARGS__), __VA_ARGS__)
 
+
 /**
 * This macro returns translated exception when the checked exception corresponds with the conditional exceptions.
 * In contrast, this macro returns the checked exception if it doesn't correspond with the conditional exceptions.
 *
 * @since 2.0
 *
-* @return         The translated exception
-* @param[in]   r              The result that will be checked
-* @param[in]   e              The translated exception
-* @param[in]   ...            The list of exceptions that will be included in translation process @n
-*                             All exceptions in this list will be translated into @c e.
+* @return                                      The translated exception
+* @param[in]   r                       The result that will be checked
+* @param[in]   e                       The translated exception
+* @param[in]   ...                     The list of exceptions that will be included in translation process @n
+*                                                      All exceptions in this list will be translated into @c e.
 *
 */