Changeset 62583 in vbox
- Timestamp:
- Jul 27, 2016 11:30:39 AM (8 years ago)
- File:
-
- 1 edited
-
trunk/include/iprt/asn1-generator-pass.h (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/iprt/asn1-generator-pass.h
r62473 r62583 166 166 /* The reminder of the methods shouldn't normally be needed, just stub them. */ \ 167 167 static DECLCALLBACK(void) RT_CONCAT4(RTASN1TMPL_INT_NAME,_XTAG_,a_Name,_Delete)(PRTASN1CORE pThisCore) \ 168 { AssertFailed(); } \168 { AssertFailed(); RT_NOREF_PV(pThisCore); } \ 169 169 static DECLCALLBACK(int) RT_CONCAT4(RTASN1TMPL_INT_NAME,_XTAG_,a_Name,_Clone)(PRTASN1CORE pThisCore, PCRTASN1CORE pSrcCore, \ 170 170 PCRTASN1ALLOCATORVTABLE pAllocator) \ 171 { AssertFailed(); return VERR_INTERNAL_ERROR_2; } \171 { AssertFailed(); RT_NOREF_PV(pThisCore); RT_NOREF_PV(pSrcCore); RT_NOREF_PV(pAllocator); return VERR_INTERNAL_ERROR_2; } \ 172 172 static DECLCALLBACK(int) RT_CONCAT4(RTASN1TMPL_INT_NAME,_XTAG_,a_Name,_Compare)(PCRTASN1CORE pLeftCore, \ 173 173 PCRTASN1CORE pRightCore) \ 174 { AssertFailed(); return VERR_INTERNAL_ERROR_2; } \174 { AssertFailed(); RT_NOREF_PV(pLeftCore); RT_NOREF_PV(pRightCore); return VERR_INTERNAL_ERROR_2; } \ 175 175 static DECLCALLBACK(int) RT_CONCAT4(RTASN1TMPL_INT_NAME,_XTAG_,a_Name,_CheckSanity)(PCRTASN1CORE pThisCore, uint32_t fFlags, \ 176 176 PRTERRINFO pErrInfo, const char *pszErrorTag) \ 177 { AssertFailed(); return VERR_INTERNAL_ERROR_2; } \ 177 { AssertFailed(); RT_NOREF_PV(pThisCore); RT_NOREF_PV(fFlags); RT_NOREF_PV(pErrInfo); RT_NOREF_PV(pszErrorTag); \ 178 return VERR_INTERNAL_ERROR_2; } \ 178 179 DECL_HIDDEN_CONST(RTASN1COREVTABLE const) RT_CONCAT5(g_,RTASN1TMPL_INT_NAME,_XTAG_,a_Name,_Vtable) = \ 179 180 { \ … … 217 218 /* The reminder of the methods shouldn't normally be needed, just stub them. */ \ 218 219 static DECLCALLBACK(void) RT_CONCAT4(RTASN1TMPL_INT_NAME,_PC_XTAG_,a_Name,_Delete)(PRTASN1CORE pThisCore) \ 219 { AssertFailed(); } \220 { AssertFailed(); RT_NOREF_PV(pThisCore); } \ 220 221 static DECLCALLBACK(int) RT_CONCAT4(RTASN1TMPL_INT_NAME,_PC_XTAG_,a_Name,_Clone)(PRTASN1CORE pThisCore, PCRTASN1CORE pSrcCore, \ 221 222 PCRTASN1ALLOCATORVTABLE pAllocator) \ 222 { AssertFailed(); return VERR_INTERNAL_ERROR_3; } \223 { AssertFailed(); RT_NOREF_PV(pThisCore); RT_NOREF_PV(pSrcCore); RT_NOREF_PV(pAllocator); return VERR_INTERNAL_ERROR_3; } \ 223 224 static DECLCALLBACK(int) RT_CONCAT4(RTASN1TMPL_INT_NAME,_PC_XTAG_,a_Name,_Compare)(PCRTASN1CORE pLeftCore, \ 224 225 PCRTASN1CORE pRightCore) \ 225 { AssertFailed(); return VERR_INTERNAL_ERROR_3; } \226 { AssertFailed(); RT_NOREF_PV(pLeftCore); RT_NOREF_PV(pRightCore); return VERR_INTERNAL_ERROR_3; } \ 226 227 static DECLCALLBACK(int) RT_CONCAT4(RTASN1TMPL_INT_NAME,_PC_XTAG_,a_Name,_CheckSanity)(PCRTASN1CORE pThisCore, uint32_t fFlags, \ 227 228 PRTERRINFO pErrInfo, const char *pszErrorTag) \ 228 { AssertFailed(); return VERR_INTERNAL_ERROR_3; } \ 229 { AssertFailed(); RT_NOREF_PV(pThisCore); RT_NOREF_PV(fFlags); RT_NOREF_PV(pErrInfo); RT_NOREF_PV(pszErrorTag); \ 230 return VERR_INTERNAL_ERROR_3; } \ 229 231 DECL_HIDDEN_CONST(RTASN1COREVTABLE const) RT_CONCAT5(g_,RTASN1TMPL_INT_NAME,_PCHOICE_XTAG_,a_Name,_Vtable) = \ 230 232 { \ … … 321 323 RTASN1TMPL_DECL(int) RT_CONCAT(RTASN1TMPL_EXT_NAME,_Init)(RT_CONCAT(P,RTASN1TMPL_TYPE) pThis, PCRTASN1ALLOCATORVTABLE pAllocator) \ 322 324 { \ 325 RT_NOREF_PV(pAllocator); \ 323 326 RT_ZERO(*pThis) 324 327 # define RTASN1TMPL_END_COMMON() \ … … 497 500 # define RTASN1TMPL_BEGIN_PCHOICE() \ 498 501 RTASN1TMPL_BEGIN_COMMON(); \ 502 RT_NOREF_PV(fFlags); \ 499 503 RTAsn1Dummy_InitEx(&pThis->Dummy); \ 500 504 pThis->Dummy.Asn1Core.pOps = &RT_CONCAT3(g_,RTASN1TMPL_INT_NAME,_Vtable); \
Note:
See TracChangeset
for help on using the changeset viewer.

