From: SooChan Lim Date: Wed, 18 Apr 2018 10:09:48 +0000 (+0900) Subject: common_type: remove the deprecated error values. X-Git-Tag: submit/tizen/20180418.111444~3 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=49d34303458f2e0a8c164fd43b6944428ca3e240;p=platform%2Fcore%2Fuifw%2Flibtbm.git common_type: remove the deprecated error values. Change-Id: Ibacd975fc8297dadf69fd2dea6a3b97d14d64ae2 --- diff --git a/src/tbm_type_common.h b/src/tbm_type_common.h index aec83c4..8a0cef1 100644 --- a/src/tbm_type_common.h +++ b/src/tbm_type_common.h @@ -89,14 +89,8 @@ typedef enum { TBM_ERROR_INVALID_PARAMETER = TIZEN_ERROR_INVALID_PARAMETER, /**< Invalid function parameter */ TBM_ERROR_INVALID_OPERATION = TIZEN_ERROR_INVALID_OPERATION, /**< Function not implemented */ TBM_ERROR_NOT_SUPPORTED = TIZEN_ERROR_NOT_SUPPORTED, /**< Not supported */ - TBM_ERROR_OPERATION_FAILED = TIZEN_ERROR_INVALID_OPERATION, /**< Function not implemented (DEPRECATED) */ /* TBM_BO_ERROR_XXX. start from (TBM_ERROR_BASE | 0x0101) to (TBM_ERROR_BASE | 0x0199) */ - TBM_BO_ERROR_NONE = TBM_ERROR_NONE, /**< Successful */ - TBM_BO_ERROR_OUT_OF_MEMORY = TBM_ERROR_OUT_OF_MEMORY, /**< Out of memory */ - TBM_BO_ERROR_INVALID_PARAMETER = TBM_ERROR_INVALID_PARAMETER, /**< Invalid function parameter */ - TBM_BO_ERROR_INVALID_OPERATION = TBM_ERROR_INVALID_OPERATION, /**< Function not implemented */ - TBM_BO_ERROR_NOT_SUPPORTED = TBM_ERROR_NOT_SUPPORTED, /**< Not supported */ TBM_BO_ERROR_GET_FD_FAILED = TBM_ERROR_BASE | 0x0101, /**< failed to get fd in bo (DEPRECATED) */ TBM_BO_ERROR_HEAP_ALLOC_FAILED = TBM_ERROR_OUT_OF_MEMORY, /**< failed to allocate the heap memory in bo (DEPRECATED) */ TBM_BO_ERROR_LOAD_MODULE_FAILED = TBM_ERROR_BASE | 0x0103, /**< failed to load module (DEPRECATED) */ @@ -125,10 +119,7 @@ typedef enum { /* TBM_SURFACE_QUEUE_ERROR_XXX. start from (TBM_ERROR_BASE | 0x0301) to (TBM_ERROR_BASE | 0x0399) */ TBM_SURFACE_QUEUE_ERROR_NONE = TBM_ERROR_NONE, /**< Successful */ - TBM_SURFACE_QUEUE_ERROR_OUT_OF_MEMORY = TBM_ERROR_OUT_OF_MEMORY, /**< Out of memory */ TBM_SURFACE_QUEUE_ERROR_INVALID_PARAMETER = TBM_ERROR_INVALID_PARAMETER, /**< Invalid function parameter */ - TBM_SURFACE_QUEUE_ERROR_INVALID_OPERATION = TBM_ERROR_INVALID_OPERATION, /**< Function not implemented */ - TBM_SURFACE_QUEUE_ERROR_NOT_SUPPORTED = TBM_ERROR_NOT_SUPPORTED, /**< Not supported */ TBM_SURFACE_QUEUE_ERROR_EMPTY = TBM_ERROR_BASE | 0x0301, /**< Empty queue */ TBM_SURFACE_QUEUE_ERROR_INVALID_QUEUE = TBM_ERROR_BASE | 0x0302, /**< Invalid queue */ TBM_SURFACE_QUEUE_ERROR_INVALID_SURFACE = TBM_ERROR_BASE | 0x0303, /**< Invalid surface */