libmkkernel 9.0
Loading...
Searching...
No Matches
kernel_overload_mk.h
Go to the documentation of this file.
1
12#pragma once
13
182#ifndef MK_EMBEDDED
184 #define MK_EMBEDDED(type,call,...) ({ \
185 type ret = 0; \
186 if (MkErrorCheckI(call (__VA_ARGS__,&ret))) goto error; \
187 ret; \
188 })
189#endif
190
191#ifndef MK_EMBEDDED_REF
193 #define MK_EMBEDDED_REF(type,call,...) ({ \
194 type ret = {0}; \
195 if (MkErrorCheckI(call (__VA_ARGS__,&ret))) goto error; \
196 ret; \
197 })
198#endif
199
200// BEGIN-MkKernel - created by 'c_Overload.tcl -i NHI1_HOME/theKernel/libmkkernel/.libmkkernel.meta' - DO NOT change
201
206
207 // doc-key: MkKernel,MkKernel-Enum,sco
208 #define MkBoolE_FromInt_E(...) MkErrorCheck(MkBoolE_FromInt(__VA_ARGS__))
209 #define MkBoolE_FromInt_C(...) if (MkErrorCheckI(MkBoolE_FromInt(__VA_ARGS__)))
210 #define MkBoolE_FromInt_e(...) MK_EMBEDDED(enum MkBoolE,MkBoolE_FromInt,__VA_ARGS__)
211 #define MkErrorE_FromInt_E(...) MkErrorCheck(MkErrorE_FromInt(__VA_ARGS__))
212 #define MkErrorE_FromInt_C(...) if (MkErrorCheckI(MkErrorE_FromInt(__VA_ARGS__)))
213 #define MkErrorE_FromInt_e(...) MK_EMBEDDED(enum MkErrorE,MkErrorE_FromInt,__VA_ARGS__)
214 #define MkNativeIsE_FromInt_E(...) MkErrorCheck(MkNativeIsE_FromInt(__VA_ARGS__))
215 #define MkNativeIsE_FromInt_C(...) if (MkErrorCheckI(MkNativeIsE_FromInt(__VA_ARGS__)))
216 #define MkNativeIsE_FromInt_e(...) MK_EMBEDDED(enum MkNativeIsE,MkNativeIsE_FromInt,__VA_ARGS__)
217 #define MkTimeoutE_FromInt_E(...) MkErrorCheck(MkTimeoutE_FromInt(__VA_ARGS__))
218 #define MkTimeoutE_FromInt_C(...) if (MkErrorCheckI(MkTimeoutE_FromInt(__VA_ARGS__)))
219 #define MkTimeoutE_FromInt_e(...) MK_EMBEDDED(enum MkTimeoutE,MkTimeoutE_FromInt,__VA_ARGS__)
220 #define MkTypeE_FromInt_E(...) MkErrorCheck(MkTypeE_FromInt(__VA_ARGS__))
221 #define MkTypeE_FromInt_C(...) if (MkErrorCheckI(MkTypeE_FromInt(__VA_ARGS__)))
222 #define MkTypeE_FromInt_e(...) MK_EMBEDDED(enum MkTypeE,MkTypeE_FromInt,__VA_ARGS__)
223
226// END-MkKernel - created by 'c_Overload.tcl -i NHI1_HOME/theKernel/libmkkernel/.libmkkernel.meta' - DO NOT change
227
228// BEGIN-MkLogFileC - created by 'c_Overload.tcl -i NHI1_HOME/theKernel/libmkkernel/.libmkkernel.meta' - DO NOT change
229
234
235 // doc-key: MkLogFileC,MkLogFileC-TOR,sCo
236 #define MkLogFileOpen(...) MkLogFileOpen_RT(MK_RT_CALL __VA_ARGS__)
237 #define MkLogFileOpen_E(...) MkErrorCheck(MkLogFileOpen(__VA_ARGS__))
238 #define MkLogFileOpen_C(...) if (MkErrorCheckI(MkLogFileOpen(__VA_ARGS__)))
239 #define MkLogFileOpen_e(...) MK_EMBEDDED(MK_LFL,MkLogFileOpen,__VA_ARGS__)
240
241
242 // doc-key: MkLogFileC,MkLogFileC-TOR,oD_
243 #define MkLogFileClose(x) MkObjectDeleteToNull(MkLogFileClose_RT,x)
244
247
252
253 // doc-key: MkLogFileC,MkLogFileC-Write,om_
254 #define MkLogFileWriteC(...) MkLogFileWriteC_RT(MK_RT_CALL __VA_ARGS__)
255 #define MkLogFileWriteC_E(...) MkErrorCheck(MkLogFileWriteC(__VA_ARGS__))
256 #define MkLogFileWriteC_C(...) if (MkErrorCheckI(MkLogFileWriteC(__VA_ARGS__)))
257 #define MkLogFileWriteV(...) MkLogFileWriteV_RT(MK_RT_CALL __VA_ARGS__)
258 #define MkLogFileWriteV_E(...) MkErrorCheck(MkLogFileWriteV(__VA_ARGS__))
259 #define MkLogFileWriteV_C(...) if (MkErrorCheckI(MkLogFileWriteV(__VA_ARGS__)))
260 #define MkLogFileWriteVL(...) MkLogFileWriteVL_RT(MK_RT_CALL __VA_ARGS__)
261 #define MkLogFileWriteVL_E(...) MkErrorCheck(MkLogFileWriteVL(__VA_ARGS__))
262 #define MkLogFileWriteVL_C(...) if (MkErrorCheckI(MkLogFileWriteVL(__VA_ARGS__)))
263
264
265 // doc-key: MkLogFileC,MkLogFileC-Write,omo
266 #define MkLogFileGetFile(...) MkLogFileGetFile_RT(MK_RT_CALL __VA_ARGS__)
267 #define MkLogFileGetFile_E(...) MkErrorCheck(MkLogFileGetFile(__VA_ARGS__))
268 #define MkLogFileGetFile_C(...) if (MkErrorCheckI(MkLogFileGetFile(__VA_ARGS__)))
269 #define MkLogFileGetFile_e(...) MK_EMBEDDED(MK_STRN,MkLogFileGetFile,__VA_ARGS__)
270
273// END-MkLogFileC - created by 'c_Overload.tcl -i NHI1_HOME/theKernel/libmkkernel/.libmkkernel.meta' - DO NOT change
274
275// BEGIN-MkErrorC - created by 'c_Overload.tcl -i NHI1_HOME/theKernel/libmkkernel/.libmkkernel.meta' - DO NOT change
276
281
282 // doc-key: MkErrorC,MkErrorC-Get,om_
283 #define MkErrorGetCode_0E() MkErrorGetCodeI(&MkERROR)
284 #define MkErrorGetCode_1M(m) MkErrorGetCodeI(MkErrorDEFAULT_1M(m))
285 #define MkErrorGetCode_E(...) MkErrorCheck(MkErrorGetCodeI(__VA_ARGS__))
286 #define MkErrorGetCode_C(...) if (MkErrorCheckI(MkErrorGetCodeI(__VA_ARGS__)))
287 #define MkErrorGetNum_0E() MkErrorGetNumI(&MkERROR)
288 #define MkErrorGetNum_1M(m) MkErrorGetNumI(MkErrorDEFAULT_1M(m))
289 #define MkErrorGetSize_0E() MkErrorGetSizeI(&MkERROR)
290 #define MkErrorGetSize_1M(m) MkErrorGetSizeI(MkErrorDEFAULT_1M(m))
291 #define MkErrorGetText_0E() MkErrorGetTextI(&MkERROR)
292 #define MkErrorGetText_1M(m) MkErrorGetTextI(MkErrorDEFAULT_1M(m))
293
296
301
302 // doc-key: MkErrorC,MkErrorC-Introspection,oc_
303 #define MkErrorNext_0E() MkErrorNext(&MkERROR)
304 #define MkErrorNext_1M(m) MkErrorNext(MkErrorDEFAULT_1M(m))
305 #define MkErrorPrev_0E() MkErrorPrev(&MkERROR)
306 #define MkErrorPrev_1M(m) MkErrorPrev(MkErrorDEFAULT_1M(m))
307
310
315
316 // doc-key: MkErrorC,MkErrorC-Misc,oc_
317 #define MkErrorCatch(...) MkErrorCatch_RT(MK_RT_CALL __VA_ARGS__)
318 #define MkErrorCatch_2E(...) MkErrorCatch(&MkERROR,__VA_ARGS__)
319 #define MkErrorCatch_3M(m,...) MkErrorCatch(MkErrorDEFAULT_1M(m),__VA_ARGS__)
320 #define MkErrorCatch_2(err,exception) MkErrorCatch(err,exception,__func__)
321 #define MkErrorCatch_1E(exception) MkErrorCatch_2E(exception,__func__)
322 #define MkErrorCatch_2M(err,exception) MkErrorCatch_3M(err,exception,__func__)
323 #define MkErrorCatch_1(err) MkErrorCatch(err,NULL,__func__)
324 #define MkErrorCatch_0E() MkErrorCatch_2E(NULL,__func__)
325 #define MkErrorCatch_1M(err) MkErrorCatch_3M(err,NULL,__func__)
326
327
328 // doc-key: MkErrorC,MkErrorC-Misc,om_
329 #define MkErrorLog(...) MkErrorLog_RT(MK_RT_CALL __VA_ARGS__)
330 #define MkErrorLog_4E(...) MkErrorLog(&MkERROR,__VA_ARGS__)
331 #define MkErrorLog_5M(m,...) MkErrorLog(MkErrorDEFAULT_1M(m),__VA_ARGS__)
332 #define MkErrorLog_4(err,fmtobj,debug,callfunc) MkErrorLog(err,fmtobj,debug,callfunc,0)
333 #define MkErrorLog_3E(fmtobj,debug,callfunc) MkErrorLog_4E(fmtobj,debug,callfunc,0)
334 #define MkErrorLog_4M(err,fmtobj,debug,callfunc) MkErrorLog_5M(err,fmtobj,debug,callfunc,0)
335 #define MkErrorLog_3(err,fmtobj,debug) MkErrorLog(err,fmtobj,debug,__func__,0)
336 #define MkErrorLog_2E(fmtobj,debug) MkErrorLog_4E(fmtobj,debug,__func__,0)
337 #define MkErrorLog_3M(err,fmtobj,debug) MkErrorLog_5M(err,fmtobj,debug,__func__,0)
338 #define MkErrorLog_2(err,fmtobj) MkErrorLog(err,fmtobj,0,__func__,0)
339 #define MkErrorLog_1E(fmtobj) MkErrorLog_4E(fmtobj,0,__func__,0)
340 #define MkErrorLog_2M(err,fmtobj) MkErrorLog_5M(err,fmtobj,0,__func__,0)
341 #define MkErrorLog_1(err) MkErrorLog(err,NULL,0,__func__,0)
342 #define MkErrorLog_0E() MkErrorLog_4E(NULL,0,__func__,0)
343 #define MkErrorLog_1M(err) MkErrorLog_5M(err,NULL,0,__func__,0)
344 #define MkErrorPrintln(...) MkErrorPrintln_RT(MK_RT_CALL __VA_ARGS__)
345 #define MkErrorPrintln_0E() MkErrorPrintln(&MkERROR)
346 #define MkErrorPrintln_1M(m) MkErrorPrintln(MkErrorDEFAULT_1M(m))
347 #define MkErrorReset(...) MkErrorReset_RT(MK_RT_CALL __VA_ARGS__)
348 #define MkErrorReset_3E(...) MkErrorReset(&MkERROR,__VA_ARGS__)
349 #define MkErrorReset_4M(m,...) MkErrorReset(MkErrorDEFAULT_1M(m),__VA_ARGS__)
350 #define MkErrorReset_3(err,callfunc,callline) MkErrorReset(err,callfunc,callline,false)
351 #define MkErrorReset_2E(callfunc,callline) MkErrorReset_3E(callfunc,callline,false)
352 #define MkErrorReset_3M(err,callfunc,callline) MkErrorReset_4M(err,callfunc,callline,false)
353 #define MkErrorReset_2(err,callfunc) MkErrorReset(err,callfunc,__LINE__,false)
354 #define MkErrorReset_1E(callfunc) MkErrorReset_3E(callfunc,__LINE__,false)
355 #define MkErrorReset_2M(err,callfunc) MkErrorReset_4M(err,callfunc,__LINE__,false)
356 #define MkErrorReset_1(err) MkErrorReset(err,__func__,__LINE__,false)
357 #define MkErrorReset_0E() MkErrorReset_3E(__func__,__LINE__,false)
358 #define MkErrorReset_1M(err) MkErrorReset_4M(err,__func__,__LINE__,false)
359 #define MkErrorReset_E(...) MkErrorCheck(MkErrorReset(__VA_ARGS__))
360 #define MkErrorReset_C(...) if (MkErrorCheckI(MkErrorReset(__VA_ARGS__)))
361 #define MkErrorStack(...) MkErrorStack_RT(MK_RT_CALL __VA_ARGS__)
362 #define MkErrorStack_3E(...) MkErrorStack(&MkERROR,__VA_ARGS__)
363 #define MkErrorStack_4M(m,...) MkErrorStack(MkErrorDEFAULT_1M(m),__VA_ARGS__)
364 #define MkErrorStack_3(err,callfunc,callfile) MkErrorStack(err,callfunc,callfile,__LINE__)
365 #define MkErrorStack_2E(callfunc,callfile) MkErrorStack_3E(callfunc,callfile,__LINE__)
366 #define MkErrorStack_3M(err,callfunc,callfile) MkErrorStack_4M(err,callfunc,callfile,__LINE__)
367 #define MkErrorStack_2(err,callfunc) MkErrorStack(err,callfunc,__FILE__,__LINE__)
368 #define MkErrorStack_1E(callfunc) MkErrorStack_3E(callfunc,__FILE__,__LINE__)
369 #define MkErrorStack_2M(err,callfunc) MkErrorStack_4M(err,callfunc,__FILE__,__LINE__)
370 #define MkErrorStack_1(err) MkErrorStack(err,__func__,__FILE__,__LINE__)
371 #define MkErrorStack_0E() MkErrorStack_3E(__func__,__FILE__,__LINE__)
372 #define MkErrorStack_1M(err) MkErrorStack_4M(err,__func__,__FILE__,__LINE__)
373 #define MkErrorStackFormat(...) MkErrorStackFormat_RT(MK_RT_CALL __VA_ARGS__)
374 #define MkErrorStackFormat_3E(...) MkErrorStackFormat(&MkERROR,__VA_ARGS__)
375 #define MkErrorStackFormat_4M(m,...) MkErrorStackFormat(MkErrorDEFAULT_1M(m),__VA_ARGS__)
376 #define MkErrorStackFormat_3(err,callfunc,callfile) MkErrorStackFormat(err,callfunc,callfile,__LINE__)
377 #define MkErrorStackFormat_2E(callfunc,callfile) MkErrorStackFormat_3E(callfunc,callfile,__LINE__)
378 #define MkErrorStackFormat_3M(err,callfunc,callfile) MkErrorStackFormat_4M(err,callfunc,callfile,__LINE__)
379 #define MkErrorStackFormat_2(err,callfunc) MkErrorStackFormat(err,callfunc,__FILE__,__LINE__)
380 #define MkErrorStackFormat_1E(callfunc) MkErrorStackFormat_3E(callfunc,__FILE__,__LINE__)
381 #define MkErrorStackFormat_2M(err,callfunc) MkErrorStackFormat_4M(err,callfunc,__FILE__,__LINE__)
382 #define MkErrorStackFormat_1(err) MkErrorStackFormat(err,__func__,__FILE__,__LINE__)
383 #define MkErrorStackFormat_0E() MkErrorStackFormat_3E(__func__,__FILE__,__LINE__)
384 #define MkErrorStackFormat_1M(err) MkErrorStackFormat_4M(err,__func__,__FILE__,__LINE__)
385 #define MkErrorToString(...) MkErrorToString_RT(MK_RT_CALL __VA_ARGS__)
386 #define MkErrorToString_0E() MkErrorToString(&MkERROR)
387 #define MkErrorToString_1M(m) MkErrorToString(MkErrorDEFAULT_1M(m))
388
391
396
397 // doc-key: MkErrorC,MkErrorC-Raise,oc_
398 #define MkErrorNoRaise(...) MkErrorNoRaise_RT(MK_RT_CALL __VA_ARGS__)
399 #define MkErrorNoRaise_0E() MkErrorNoRaise(&MkERROR)
400 #define MkErrorNoRaise_1M(m) MkErrorNoRaise(MkErrorDEFAULT_1M(m))
401
402
403 // doc-key: MkErrorC,MkErrorC-Raise,om_
404 #define MkErrorAppendC(...) MkErrorAppendC_RT(MK_RT_CALL __VA_ARGS__)
405 #define MkErrorAppendC_1E(...) MkErrorAppendC(&MkERROR,__VA_ARGS__)
406 #define MkErrorAppendC_2M(m,...) MkErrorAppendC(MkErrorDEFAULT_1M(m),__VA_ARGS__)
407 #define MkErrorAppendV(...) MkErrorAppendV_RT(MK_RT_CALL __VA_ARGS__)
408 #define MkErrorAppendV_1E(...) MkErrorAppendV(&MkERROR,__VA_ARGS__)
409 #define MkErrorAppendV_2M(m,...) MkErrorAppendV(MkErrorDEFAULT_1M(m),__VA_ARGS__)
410 #define MkErrorAppendVL(...) MkErrorAppendVL_RT(MK_RT_CALL __VA_ARGS__)
411 #define MkErrorAppendVL_2E(...) MkErrorAppendVL(&MkERROR,__VA_ARGS__)
412 #define MkErrorAppendVL_3M(m,...) MkErrorAppendVL(MkErrorDEFAULT_1M(m),__VA_ARGS__)
413 #define MkErrorRaise(...) MkErrorRaise_RT(MK_RT_CALL __VA_ARGS__)
414 #define MkErrorRaise_0E() MkErrorRaise(&MkERROR)
415 #define MkErrorRaise_1M(m) MkErrorRaise(MkErrorDEFAULT_1M(m))
416 #define MkErrorRaise_E(...) MkErrorCheck(MkErrorRaise(__VA_ARGS__))
417 #define MkErrorRaise_C(...) if (MkErrorCheckI(MkErrorRaise(__VA_ARGS__)))
418 #define MkErrorSetC(...) MkErrorSetC_RT(MK_RT_CALL __VA_ARGS__)
419 #define MkErrorSetC_3E(...) MkErrorSetC(&MkERROR,__VA_ARGS__)
420 #define MkErrorSetC_4M(m,...) MkErrorSetC(MkErrorDEFAULT_1M(m),__VA_ARGS__)
421 #define MkErrorSetC_3(err,message,callfunc) MkErrorSetC(err,message,callfunc,-1)
422 #define MkErrorSetC_2E(message,callfunc) MkErrorSetC_3E(message,callfunc,-1)
423 #define MkErrorSetC_3M(err,message,callfunc) MkErrorSetC_4M(err,message,callfunc,-1)
424 #define MkErrorSetC_2(err,message) MkErrorSetC(err,message,__func__,-1)
425 #define MkErrorSetC_1E(message) MkErrorSetC_3E(message,__func__,-1)
426 #define MkErrorSetC_2M(err,message) MkErrorSetC_4M(err,message,__func__,-1)
427 #define MkErrorSetC_E(...) MkErrorCheck(MkErrorSetC(__VA_ARGS__))
428 #define MkErrorSetC_C(...) if (MkErrorCheckI(MkErrorSetC(__VA_ARGS__)))
429 #define MkErrorSetE(...) MkErrorSetE_RT(MK_RT_CALL __VA_ARGS__)
430 #define MkErrorSetE_1E(...) MkErrorSetE(&MkERROR,__VA_ARGS__)
431 #define MkErrorSetE_2M(m,...) MkErrorSetE(MkErrorDEFAULT_1M(m),__VA_ARGS__)
432 #define MkErrorSetE_E(...) MkErrorCheck(MkErrorSetE(__VA_ARGS__))
433 #define MkErrorSetE_C(...) if (MkErrorCheckI(MkErrorSetE(__VA_ARGS__)))
434 #define MkErrorSetR(...) MkErrorSetR_RT(MK_RT_CALL __VA_ARGS__)
435 #define MkErrorSetR_4E(...) MkErrorSetR(&MkERROR,__VA_ARGS__)
436 #define MkErrorSetR_5M(m,...) MkErrorSetR(MkErrorDEFAULT_1M(m),__VA_ARGS__)
437 #define MkErrorSetR_4(err,message,errcode,errnum) MkErrorSetR(err,message,errcode,errnum,NULL)
438 #define MkErrorSetR_3E(message,errcode,errnum) MkErrorSetR_4E(message,errcode,errnum,NULL)
439 #define MkErrorSetR_4M(err,message,errcode,errnum) MkErrorSetR_5M(err,message,errcode,errnum,NULL)
440 #define MkErrorSetR_3(err,message,errcode) MkErrorSetR(err,message,errcode,-1,NULL)
441 #define MkErrorSetR_2E(message,errcode) MkErrorSetR_4E(message,errcode,-1,NULL)
442 #define MkErrorSetR_3M(err,message,errcode) MkErrorSetR_5M(err,message,errcode,-1,NULL)
443 #define MkErrorSetR_2(err,message) MkErrorSetR(err,message,MK_ERROR_NULL,-1,NULL)
444 #define MkErrorSetR_1E(message) MkErrorSetR_4E(message,MK_ERROR_NULL,-1,NULL)
445 #define MkErrorSetR_2M(err,message) MkErrorSetR_5M(err,message,MK_ERROR_NULL,-1,NULL)
446 #define MkErrorSetR_E(...) MkErrorCheck(MkErrorSetR(__VA_ARGS__))
447 #define MkErrorSetR_C(...) if (MkErrorCheckI(MkErrorSetR(__VA_ARGS__)))
448 #define MkErrorSetV(...) MkErrorSetV_RT(MK_RT_CALL __VA_ARGS__)
449 #define MkErrorSetV_3E(...) MkErrorSetV(&MkERROR,__VA_ARGS__)
450 #define MkErrorSetV_4M(m,...) MkErrorSetV(MkErrorDEFAULT_1M(m),__VA_ARGS__)
451 #define MkErrorSetV_3(err,callfunc,printfmt,...) MkErrorSetV(err,callfunc,-1,printfmt,__VA_ARGS__)
452 #define MkErrorSetV_2E(callfunc,printfmt,...) MkErrorSetV_3E(callfunc,-1,printfmt,__VA_ARGS__)
453 #define MkErrorSetV_3M(err,callfunc,printfmt,...) MkErrorSetV_4M(err,callfunc,-1,printfmt,__VA_ARGS__)
454 #define MkErrorSetV_2(err,printfmt,...) MkErrorSetV(err,__func__,-1,printfmt,__VA_ARGS__)
455 #define MkErrorSetV_1E(printfmt,...) MkErrorSetV_3E(__func__,-1,printfmt,__VA_ARGS__)
456 #define MkErrorSetV_2M(err,printfmt,...) MkErrorSetV_4M(err,__func__,-1,printfmt,__VA_ARGS__)
457 #define MkErrorSetV_E(...) MkErrorCheck(MkErrorSetV(__VA_ARGS__))
458 #define MkErrorSetV_C(...) if (MkErrorCheckI(MkErrorSetV(__VA_ARGS__)))
459 #define MkErrorSetVL(...) MkErrorSetVL_RT(MK_RT_CALL __VA_ARGS__)
460 #define MkErrorSetVL_4E(...) MkErrorSetVL(&MkERROR,__VA_ARGS__)
461 #define MkErrorSetVL_5M(m,...) MkErrorSetVL(MkErrorDEFAULT_1M(m),__VA_ARGS__)
462 #define MkErrorSetVL_4(err,callfunc,printfmt,var_list) MkErrorSetVL(err,callfunc,-1,printfmt,var_list)
463 #define MkErrorSetVL_3E(callfunc,printfmt,var_list) MkErrorSetVL_4E(callfunc,-1,printfmt,var_list)
464 #define MkErrorSetVL_4M(err,callfunc,printfmt,var_list) MkErrorSetVL_5M(err,callfunc,-1,printfmt,var_list)
465 #define MkErrorSetVL_3(err,printfmt,var_list) MkErrorSetVL(err,__func__,-1,printfmt,var_list)
466 #define MkErrorSetVL_2E(printfmt,var_list) MkErrorSetVL_4E(__func__,-1,printfmt,var_list)
467 #define MkErrorSetVL_3M(err,printfmt,var_list) MkErrorSetVL_5M(err,__func__,-1,printfmt,var_list)
468 #define MkErrorSetVL_E(...) MkErrorCheck(MkErrorSetVL(__VA_ARGS__))
469 #define MkErrorSetVL_C(...) if (MkErrorCheckI(MkErrorSetVL(__VA_ARGS__)))
470
471
472 // doc-key: MkErrorC,MkErrorC-Raise,sm_
473 #define MkPanicC(...) MkPanicC_RT(MK_RT_CALL __VA_ARGS__)
474 #define MkPanicC_3(errobj,callfunc,message) MkPanicC(errobj,callfunc,-1,message)
475 #define MkPanicC_2(errobj,message) MkPanicC(errobj,__func__,-1,message)
476 #define MkPanicC_1(message) MkPanicC(NULL,__func__,-1,message)
477 #define MkPanicV(...) MkPanicV_RT(MK_RT_CALL __VA_ARGS__)
478 #define MkPanicV_3(errobj,callfunc,printfmt,...) MkPanicV(errobj,callfunc,-1,printfmt,__VA_ARGS__)
479 #define MkPanicV_2(errobj,printfmt,...) MkPanicV(errobj,__func__,-1,printfmt,__VA_ARGS__)
480 #define MkPanicV_1(printfmt,...) MkPanicV(NULL,__func__,-1,printfmt,__VA_ARGS__)
481 #define MkPanicVL(...) MkPanicVL_RT(MK_RT_CALL __VA_ARGS__)
482 #define MkPanicVL_4(errobj,callfunc,printfmt,var_list) MkPanicVL(errobj,callfunc,-1,printfmt,var_list)
483 #define MkPanicVL_3(errobj,printfmt,var_list) MkPanicVL(errobj,__func__,-1,printfmt,var_list)
484 #define MkPanicVL_2(printfmt,var_list) MkPanicVL(NULL,__func__,-1,printfmt,var_list)
485
488
493
494 // doc-key: MkErrorC,MkErrorC-Signal,om_
495 #define MkErrorIsEXIT_0E() MkErrorIsEXIT(&MkERROR)
496 #define MkErrorIsEXIT_1M(m) MkErrorIsEXIT(MkErrorDEFAULT_1M(m))
497 #define MkErrorIsSOCKET_0E() MkErrorIsSOCKET(&MkERROR)
498 #define MkErrorIsSOCKET_1M(m) MkErrorIsSOCKET(MkErrorDEFAULT_1M(m))
499 #define MkErrorSetCONTINUE(...) MkErrorSetCONTINUE_RT(MK_RT_CALL __VA_ARGS__)
500 #define MkErrorSetCONTINUE_0E() MkErrorSetCONTINUE(&MkERROR)
501 #define MkErrorSetCONTINUE_1M(m) MkErrorSetCONTINUE(MkErrorDEFAULT_1M(m))
502 #define MkErrorSetCode(...) MkErrorSetCode_RT(MK_RT_CALL __VA_ARGS__)
503 #define MkErrorSetCode_1E(...) MkErrorSetCode(&MkERROR,__VA_ARGS__)
504 #define MkErrorSetCode_2M(m,...) MkErrorSetCode(MkErrorDEFAULT_1M(m),__VA_ARGS__)
505 #define MkErrorSetEXIT(...) MkErrorSetEXIT_RT(MK_RT_CALL __VA_ARGS__)
506 #define MkErrorSetEXIT_1E(...) MkErrorSetEXIT(&MkERROR,__VA_ARGS__)
507 #define MkErrorSetEXIT_2M(m,...) MkErrorSetEXIT(MkErrorDEFAULT_1M(m),__VA_ARGS__)
508 #define MkErrorSetEXIT_1(err) MkErrorSetEXIT(err,__func__)
509 #define MkErrorSetEXIT_0E() MkErrorSetEXIT_1E(__func__)
510 #define MkErrorSetEXIT_1M(err) MkErrorSetEXIT_2M(err,__func__)
511 #define MkErrorSetEXIT_E(...) MkErrorCheck(MkErrorSetEXIT(__VA_ARGS__))
512 #define MkErrorSetEXIT_C(...) if (MkErrorCheckI(MkErrorSetEXIT(__VA_ARGS__)))
513 #define MkErrorSetSOCKET(...) MkErrorSetSOCKET_RT(MK_RT_CALL __VA_ARGS__)
514 #define MkErrorSetSOCKET_2E(...) MkErrorSetSOCKET(&MkERROR,__VA_ARGS__)
515 #define MkErrorSetSOCKET_3M(m,...) MkErrorSetSOCKET(MkErrorDEFAULT_1M(m),__VA_ARGS__)
516 #define MkErrorSetSOCKET_2(err,detail) MkErrorSetSOCKET(err,detail,__func__)
517 #define MkErrorSetSOCKET_1E(detail) MkErrorSetSOCKET_2E(detail,__func__)
518 #define MkErrorSetSOCKET_2M(err,detail) MkErrorSetSOCKET_3M(err,detail,__func__)
519 #define MkErrorSetSOCKET_1(err) MkErrorSetSOCKET(err,"UNKNOWN",__func__)
520 #define MkErrorSetSOCKET_0E() MkErrorSetSOCKET_2E("UNKNOWN",__func__)
521 #define MkErrorSetSOCKET_1M(err) MkErrorSetSOCKET_3M(err,"UNKNOWN",__func__)
522 #define MkErrorSetSOCKET_E(...) MkErrorCheck(MkErrorSetSOCKET(__VA_ARGS__))
523 #define MkErrorSetSOCKET_C(...) if (MkErrorCheckI(MkErrorSetSOCKET(__VA_ARGS__)))
524
527
532
533 // doc-key: MkErrorC,MkErrorC-System,sc_
534 #define MkErrorDEFAULT_0() MkErrorDEFAULT(NULL)
535 #define MkErrorDEFAULT_E_0() MkErrorDEFAULT_E(MK_RT_CALL)
536 #define MkErrorIGNORE() MkErrorIGNORE_RT(MK_RT_CALL_ONLY)
537 #define MkErrorPANIC() MkErrorPANIC_RT(MK_RT_CALL_ONLY)
538 #define MkErrorPRINT() MkErrorPRINT_RT(MK_RT_CALL_ONLY)
539
540
541 // doc-key: MkErrorC,MkErrorC-System,sm_
542 #define MkErrorFORMAT() MkErrorFORMAT_RT(MK_RT_CALL_ONLY)
543
546
551
552 // doc-key: MkErrorC,MkErrorC-TOR,oCx
553 #define MkErrorDup(...) MkErrorDup_RT(MK_RT_CALL __VA_ARGS__)
554 #define MkErrorDup_0E() MkErrorDup(&MkERROR)
555 #define MkErrorDup_1M(m) MkErrorDup(MkErrorDEFAULT_1M(m))
556
557
558 // doc-key: MkErrorC,MkErrorC-TOR,oD_
559 #define MkErrorDelete(x) MkObjectDeleteToNull(MkErrorDelete_RT,x)
560 #define MkErrorDelete_0E() MkErrorDelete(&MkERROR)
561 #define MkErrorDelete_1M(m) MkErrorDelete(MkErrorDEFAULT_1M(m))
562
565// END-MkErrorC - created by 'c_Overload.tcl -i NHI1_HOME/theKernel/libmkkernel/.libmkkernel.meta' - DO NOT change
566
567// BEGIN-MkBufferListC - created by 'c_Overload.tcl -i NHI1_HOME/theKernel/libmkkernel/.libmkkernel.meta' - DO NOT change
568
573
574 // doc-key: MkBufferListC,MkBufferListC-Append,oc_
575 #define MkBufferListAppendLA(...) MkBufferListAppendLA_RT(MK_RT_CALL __VA_ARGS__)
576 #define MkBufferListAppendLP(...) MkBufferListAppendLP_RT(MK_RT_CALL __VA_ARGS__)
577 #define MkBufferListAppendLP_2(bfl,addBufL) MkBufferListAppendLP(bfl,addBufL,-1)
578 #define MkBufferListAppendVA(...) MkBufferListAppendVA_RT(MK_RT_CALL __VA_ARGS__)
579 #define MkBufferListAppendVAL(...) MkBufferListAppendVAL_RT(MK_RT_CALL __VA_ARGS__)
580 #define MkBufferListAppendVC(...) MkBufferListAppendVC_RT(MK_RT_CALL __VA_ARGS__)
581 #define MkBufferListPositionMerge(...) MkBufferListPositionMerge_RT(MK_RT_CALL __VA_ARGS__)
582
583
584 // doc-key: MkBufferListC,MkBufferListC-Append,om_
585 #define MkBufferListAppendC(...) MkBufferListAppendC_RT(MK_RT_CALL __VA_ARGS__)
586 #define MkBufferListAppendD(...) MkBufferListAppendD_RT(MK_RT_CALL __VA_ARGS__)
587 #define MkBufferListAppendF(...) MkBufferListAppendF_RT(MK_RT_CALL __VA_ARGS__)
588 #define MkBufferListAppendG(...) MkBufferListAppendG_RT(MK_RT_CALL __VA_ARGS__)
589 #define MkBufferListAppendI(...) MkBufferListAppendI_RT(MK_RT_CALL __VA_ARGS__)
590 #define MkBufferListAppendO(...) MkBufferListAppendO_RT(MK_RT_CALL __VA_ARGS__)
591 #define MkBufferListAppendS(...) MkBufferListAppendS_RT(MK_RT_CALL __VA_ARGS__)
592 #define MkBufferListAppendU(...) MkBufferListAppendU_RT(MK_RT_CALL __VA_ARGS__)
593 #define MkBufferListAppendUP(...) MkBufferListAppendUP_RT(MK_RT_CALL __VA_ARGS__)
594 #define MkBufferListAppendUP_2(bfl,addBuf) MkBufferListAppendUP(bfl,addBuf,-1)
595 #define MkBufferListAppendV(...) MkBufferListAppendV_RT(MK_RT_CALL __VA_ARGS__)
596 #define MkBufferListAppendVL(...) MkBufferListAppendVL_RT(MK_RT_CALL __VA_ARGS__)
597 #define MkBufferListAppendW(...) MkBufferListAppendW_RT(MK_RT_CALL __VA_ARGS__)
598 #define MkBufferListAppendY(...) MkBufferListAppendY_RT(MK_RT_CALL __VA_ARGS__)
599
602
607
608 // doc-key: MkBufferListC,MkBufferListC-Check,oco
609 #define MkBufferListCheckOptionU(...) MkBufferListCheckOptionU_RT(MK_RT_CALL __VA_ARGS__)
610 #define MkBufferListCheckOptionU_4(bfl,opt,defval,val_out) MkBufferListCheckOptionU(bfl,opt,defval,true,val_out)
611 #define MkBufferListCheckOptionU_3(bfl,opt,val_out) MkBufferListCheckOptionU(bfl,opt,NULL,true,val_out)
612 #define MkBufferListCheckOptionU_E(...) MkErrorCheck(MkBufferListCheckOptionU(__VA_ARGS__))
613 #define MkBufferListCheckOptionU_C(...) if (MkErrorCheckI(MkBufferListCheckOptionU(__VA_ARGS__)))
614 #define MkBufferListCheckOptionU_e(...) MK_EMBEDDED(MK_BUF,MkBufferListCheckOptionU,__VA_ARGS__)
615
616
617 // doc-key: MkBufferListC,MkBufferListC-Check,om_
618 #define MkBufferListCheckOption(...) MkBufferListCheckOption_RT(MK_RT_CALL __VA_ARGS__)
619 #define MkBufferListCheckOption_2(bfl,opt) MkBufferListCheckOption(bfl,opt,false)
620
621
622 // doc-key: MkBufferListC,MkBufferListC-Check,omo
623 #define MkBufferListCheckOptionC(...) MkBufferListCheckOptionC_RT(MK_RT_CALL __VA_ARGS__)
624 #define MkBufferListCheckOptionC_4(bfl,opt,defval,val_out) MkBufferListCheckOptionC(bfl,opt,defval,true,val_out)
625 #define MkBufferListCheckOptionC_3(bfl,opt,val_out) MkBufferListCheckOptionC(bfl,opt,"",true,val_out)
626 #define MkBufferListCheckOptionC_E(...) MkErrorCheck(MkBufferListCheckOptionC(__VA_ARGS__))
627 #define MkBufferListCheckOptionC_C(...) if (MkErrorCheckI(MkBufferListCheckOptionC(__VA_ARGS__)))
628 #define MkBufferListCheckOptionC_e(...) MK_EMBEDDED(MK_STRN,MkBufferListCheckOptionC,__VA_ARGS__)
629 #define MkBufferListCheckOptionD(...) MkBufferListCheckOptionD_RT(MK_RT_CALL __VA_ARGS__)
630 #define MkBufferListCheckOptionD_4(bfl,opt,defval,val_out) MkBufferListCheckOptionD(bfl,opt,defval,true,val_out)
631 #define MkBufferListCheckOptionD_3(bfl,opt,val_out) MkBufferListCheckOptionD(bfl,opt,0,true,val_out)
632 #define MkBufferListCheckOptionD_E(...) MkErrorCheck(MkBufferListCheckOptionD(__VA_ARGS__))
633 #define MkBufferListCheckOptionD_C(...) if (MkErrorCheckI(MkBufferListCheckOptionD(__VA_ARGS__)))
634 #define MkBufferListCheckOptionD_e(...) MK_EMBEDDED(MK_DBL,MkBufferListCheckOptionD,__VA_ARGS__)
635 #define MkBufferListCheckOptionF(...) MkBufferListCheckOptionF_RT(MK_RT_CALL __VA_ARGS__)
636 #define MkBufferListCheckOptionF_4(bfl,opt,defval,val_out) MkBufferListCheckOptionF(bfl,opt,defval,true,val_out)
637 #define MkBufferListCheckOptionF_3(bfl,opt,val_out) MkBufferListCheckOptionF(bfl,opt,0,true,val_out)
638 #define MkBufferListCheckOptionF_E(...) MkErrorCheck(MkBufferListCheckOptionF(__VA_ARGS__))
639 #define MkBufferListCheckOptionF_C(...) if (MkErrorCheckI(MkBufferListCheckOptionF(__VA_ARGS__)))
640 #define MkBufferListCheckOptionF_e(...) MK_EMBEDDED(MK_FLT,MkBufferListCheckOptionF,__VA_ARGS__)
641 #define MkBufferListCheckOptionI(...) MkBufferListCheckOptionI_RT(MK_RT_CALL __VA_ARGS__)
642 #define MkBufferListCheckOptionI_4(bfl,opt,defval,val_out) MkBufferListCheckOptionI(bfl,opt,defval,true,val_out)
643 #define MkBufferListCheckOptionI_3(bfl,opt,val_out) MkBufferListCheckOptionI(bfl,opt,0,true,val_out)
644 #define MkBufferListCheckOptionI_E(...) MkErrorCheck(MkBufferListCheckOptionI(__VA_ARGS__))
645 #define MkBufferListCheckOptionI_C(...) if (MkErrorCheckI(MkBufferListCheckOptionI(__VA_ARGS__)))
646 #define MkBufferListCheckOptionI_e(...) MK_EMBEDDED(MK_INT,MkBufferListCheckOptionI,__VA_ARGS__)
647 #define MkBufferListCheckOptionO(...) MkBufferListCheckOptionO_RT(MK_RT_CALL __VA_ARGS__)
648 #define MkBufferListCheckOptionO_4(bfl,opt,defval,val_out) MkBufferListCheckOptionO(bfl,opt,defval,true,val_out)
649 #define MkBufferListCheckOptionO_3(bfl,opt,val_out) MkBufferListCheckOptionO(bfl,opt,false,true,val_out)
650 #define MkBufferListCheckOptionO_E(...) MkErrorCheck(MkBufferListCheckOptionO(__VA_ARGS__))
651 #define MkBufferListCheckOptionO_C(...) if (MkErrorCheckI(MkBufferListCheckOptionO(__VA_ARGS__)))
652 #define MkBufferListCheckOptionO_e(...) MK_EMBEDDED(MK_BOOL,MkBufferListCheckOptionO,__VA_ARGS__)
653 #define MkBufferListCheckOptionS(...) MkBufferListCheckOptionS_RT(MK_RT_CALL __VA_ARGS__)
654 #define MkBufferListCheckOptionS_4(bfl,opt,defval,val_out) MkBufferListCheckOptionS(bfl,opt,defval,true,val_out)
655 #define MkBufferListCheckOptionS_3(bfl,opt,val_out) MkBufferListCheckOptionS(bfl,opt,0,true,val_out)
656 #define MkBufferListCheckOptionS_E(...) MkErrorCheck(MkBufferListCheckOptionS(__VA_ARGS__))
657 #define MkBufferListCheckOptionS_C(...) if (MkErrorCheckI(MkBufferListCheckOptionS(__VA_ARGS__)))
658 #define MkBufferListCheckOptionS_e(...) MK_EMBEDDED(MK_SRT,MkBufferListCheckOptionS,__VA_ARGS__)
659 #define MkBufferListCheckOptionW(...) MkBufferListCheckOptionW_RT(MK_RT_CALL __VA_ARGS__)
660 #define MkBufferListCheckOptionW_4(bfl,opt,defval,val_out) MkBufferListCheckOptionW(bfl,opt,defval,true,val_out)
661 #define MkBufferListCheckOptionW_3(bfl,opt,val_out) MkBufferListCheckOptionW(bfl,opt,0,true,val_out)
662 #define MkBufferListCheckOptionW_E(...) MkErrorCheck(MkBufferListCheckOptionW(__VA_ARGS__))
663 #define MkBufferListCheckOptionW_C(...) if (MkErrorCheckI(MkBufferListCheckOptionW(__VA_ARGS__)))
664 #define MkBufferListCheckOptionW_e(...) MK_EMBEDDED(MK_WID,MkBufferListCheckOptionW,__VA_ARGS__)
665 #define MkBufferListCheckOptionY(...) MkBufferListCheckOptionY_RT(MK_RT_CALL __VA_ARGS__)
666 #define MkBufferListCheckOptionY_4(bfl,opt,defval,val_out) MkBufferListCheckOptionY(bfl,opt,defval,true,val_out)
667 #define MkBufferListCheckOptionY_3(bfl,opt,val_out) MkBufferListCheckOptionY(bfl,opt,0,true,val_out)
668 #define MkBufferListCheckOptionY_E(...) MkErrorCheck(MkBufferListCheckOptionY(__VA_ARGS__))
669 #define MkBufferListCheckOptionY_C(...) if (MkErrorCheckI(MkBufferListCheckOptionY(__VA_ARGS__)))
670 #define MkBufferListCheckOptionY_e(...) MK_EMBEDDED(MK_BYT,MkBufferListCheckOptionY,__VA_ARGS__)
671
674
679
680 // doc-key: MkBufferListC,MkBufferListC-Index,oc_
681 #define MkBufferListIndexGetU(...) MkBufferListIndexGetU_RT(MK_RT_CALL __VA_ARGS__)
682
683
684 // doc-key: MkBufferListC,MkBufferListC-Index,oco
685 #define MkBufferListIndexExtract(...) MkBufferListIndexExtract_RT(MK_RT_CALL __VA_ARGS__)
686 #define MkBufferListIndexExtract_2(bfl,val_out) MkBufferListIndexExtract(bfl,0,val_out)
687 #define MkBufferListIndexExtract_E(...) MkErrorCheck(MkBufferListIndexExtract(__VA_ARGS__))
688 #define MkBufferListIndexExtract_C(...) if (MkErrorCheckI(MkBufferListIndexExtract(__VA_ARGS__)))
689 #define MkBufferListIndexExtract_e(...) MK_EMBEDDED(MK_BUF,MkBufferListIndexExtract,__VA_ARGS__)
690 #define MkBufferListIndexGet(...) MkBufferListIndexGet_RT(MK_RT_CALL __VA_ARGS__)
691 #define MkBufferListIndexGet_E(...) MkErrorCheck(MkBufferListIndexGet(__VA_ARGS__))
692 #define MkBufferListIndexGet_C(...) if (MkErrorCheckI(MkBufferListIndexGet(__VA_ARGS__)))
693 #define MkBufferListIndexGet_e(...) MK_EMBEDDED(MK_BUF,MkBufferListIndexGet,__VA_ARGS__)
694
695
696 // doc-key: MkBufferListC,MkBufferListC-Index,om_
697 #define MkBufferListIndexDelete(...) MkBufferListIndexDelete_RT(MK_RT_CALL __VA_ARGS__)
698 #define MkBufferListIndexDelete_3(bfl,index,numitems) MkBufferListIndexDelete(bfl,index,numitems,true)
699 #define MkBufferListIndexDelete_2(bfl,index) MkBufferListIndexDelete(bfl,index,1,true)
700 #define MkBufferListIndexDelete_E(...) MkErrorCheck(MkBufferListIndexDelete(__VA_ARGS__))
701 #define MkBufferListIndexDelete_C(...) if (MkErrorCheckI(MkBufferListIndexDelete(__VA_ARGS__)))
702 #define MkBufferListIndexGetC(...) MkBufferListIndexGetC_RT(MK_RT_CALL __VA_ARGS__)
703 #define MkBufferListIndexSet(...) MkBufferListIndexSet_RT(MK_RT_CALL __VA_ARGS__)
704 #define MkBufferListIndexSet_E(...) MkErrorCheck(MkBufferListIndexSet(__VA_ARGS__))
705 #define MkBufferListIndexSet_C(...) if (MkErrorCheckI(MkBufferListIndexSet(__VA_ARGS__)))
706 #define MkBufferListIndexSetC(...) MkBufferListIndexSetC_RT(MK_RT_CALL __VA_ARGS__)
707 #define MkBufferListIndexSetU(...) MkBufferListIndexSetU_RT(MK_RT_CALL __VA_ARGS__)
708 #define MkBufferListReserve(...) MkBufferListReserve_RT(MK_RT_CALL __VA_ARGS__)
709 #define MkBufferListSize(...) MkBufferListSize_RT(MK_RT_CALL __VA_ARGS__)
710
713
718
719 // doc-key: MkBufferListC,MkBufferListC-Log,om_
720 #define MkBufferListLog(...) MkBufferListLog_RT(MK_RT_CALL __VA_ARGS__)
721 #define MkBufferListLog_4(bfl,fmtobj,debug,callfunc) MkBufferListLog(bfl,fmtobj,debug,callfunc,0)
722 #define MkBufferListLog_3(bfl,fmtobj,debug) MkBufferListLog(bfl,fmtobj,debug,__func__,0)
723 #define MkBufferListLog_2(bfl,fmtobj) MkBufferListLog(bfl,fmtobj,0,__func__,0)
724 #define MkBufferListLog_1(bfl) MkBufferListLog(bfl,NULL,0,__func__,0)
725 #define MkBufferListLogS(...) MkBufferListLogS_RT(MK_RT_CALL __VA_ARGS__)
726 #define MkBufferListLogS_3(bfl,varname,fmtobj) MkBufferListLogS(bfl,varname,fmtobj,__func__)
727 #define MkBufferListLogS_2(bfl,varname) MkBufferListLogS(bfl,varname,NULL,__func__)
728 #define MkBufferListLogS_1(bfl) MkBufferListLogS(bfl,"bfl",NULL,__func__)
729 #define MkBufferListLogSS(...) MkBufferListLogSS_RT(MK_RT_CALL __VA_ARGS__)
730 #define MkBufferListLogSS_3(bfl,varname,fmtobj) MkBufferListLogSS(bfl,varname,fmtobj,__func__)
731 #define MkBufferListLogSS_2(bfl,varname) MkBufferListLogSS(bfl,varname,NULL,__func__)
732 #define MkBufferListLogSS_1(bfl) MkBufferListLogSS(bfl,"bfl",NULL,__func__)
733 #define MkBufferListLogSSS(...) MkBufferListLogSSS_RT(MK_RT_CALL __VA_ARGS__)
734 #define MkBufferListLogSSS_3(bfl,varname,fmtobj) MkBufferListLogSSS(bfl,varname,fmtobj,__func__)
735 #define MkBufferListLogSSS_2(bfl,varname) MkBufferListLogSSS(bfl,varname,NULL,__func__)
736 #define MkBufferListLogSSS_1(bfl) MkBufferListLogSSS(bfl,"bfl",NULL,__func__)
737
740
745
746 // doc-key: MkBufferListC,MkBufferListC-Misc,oc_
747 #define MkBufferListSort(...) MkBufferListSort_RT(MK_RT_CALL __VA_ARGS__)
748 #define MkBufferListToBuffer(...) MkBufferListToBuffer_RT(MK_RT_CALL __VA_ARGS__)
749
750
751 // doc-key: MkBufferListC,MkBufferListC-Misc,om_
752 #define MkBufferListCmp(...) MkBufferListCmp_RT(MK_RT_CALL __VA_ARGS__)
753 #define MkBufferListCopy(...) MkBufferListCopy_RT(MK_RT_CALL __VA_ARGS__)
754 #define MkBufferListMove(...) MkBufferListMove_RT(MK_RT_CALL __VA_ARGS__)
755 #define MkBufferListReset(...) MkBufferListReset_RT(MK_RT_CALL __VA_ARGS__)
756 #define MkBufferListSearchC(...) MkBufferListSearchC_RT(MK_RT_CALL __VA_ARGS__)
757 #define MkBufferListSearchC_3(bfl,str,len) MkBufferListSearchC(bfl,str,len,0)
758 #define MkBufferListSearchC_2(bfl,str) MkBufferListSearchC(bfl,str,-1,0)
759 #define MkBufferListToList(...) MkBufferListToList_RT(MK_RT_CALL __VA_ARGS__)
760 #define MkBufferListToString(...) MkBufferListToString_RT(MK_RT_CALL __VA_ARGS__)
761 #define MkBufferListToStringList(...) MkBufferListToStringList_RT(MK_RT_CALL __VA_ARGS__)
762
765
770
771 // doc-key: MkBufferListC,MkBufferListC-TOR,oC_
772 #define MkBufferListMerge(...) MkBufferListMerge_RT(MK_RT_CALL __VA_ARGS__)
773
774
775 // doc-key: MkBufferListC,MkBufferListC-TOR,oCx
776 #define MkBufferListDup(...) MkBufferListDup_RT(MK_RT_CALL __VA_ARGS__)
777
778
779 // doc-key: MkBufferListC,MkBufferListC-TOR,sCc
780 #define MkBufferListCreate(...) MkBufferListCreate_RT(MK_RT_CALL __VA_ARGS__)
781 #define MkBufferListCreate_0() MkBufferListCreate(0)
782 #define MkBufferListCreateLA(...) MkBufferListCreateLA_RT(MK_RT_CALL __VA_ARGS__)
783 #define MkBufferListCreateTLS(...) MkBufferListCreateTLS_RT(MK_RT_CALL __VA_ARGS__)
784 #define MkBufferListCreateVA(...) MkBufferListCreateVA_RT(MK_RT_CALL __VA_ARGS__)
785 #define MkBufferListCreateVAL(...) MkBufferListCreateVAL_RT(MK_RT_CALL __VA_ARGS__)
786 #define MkBufferListCreateVC(...) MkBufferListCreateVC_RT(MK_RT_CALL __VA_ARGS__)
787 #define MkBufferListFileGlob(...) MkBufferListFileGlob_RT(MK_RT_CALL __VA_ARGS__)
788
789
790 // doc-key: MkBufferListC,MkBufferListC-TOR,oD_
791 #define MkBufferListDelete(x) MkObjectDeleteToNull(MkBufferListDelete_RT,x)
792
793
794 // doc-key: MkBufferListC,MkBufferListC-TOR,om_
795 #define MkBufferListFree(...) MkBufferListFree_RT(MK_RT_CALL __VA_ARGS__)
796 #define MkBufferListInit(...) MkBufferListInit_RT(MK_RT_CALL __VA_ARGS__)
797
800// END-MkBufferListC - created by 'c_Overload.tcl -i NHI1_HOME/theKernel/libmkkernel/.libmkkernel.meta' - DO NOT change
801
802// BEGIN-MkBufferC - created by 'c_Overload.tcl -i NHI1_HOME/theKernel/libmkkernel/.libmkkernel.meta' - DO NOT change
803
808
809 // doc-key: MkBufferC,MkBufferC-Access,oc_
810 #define MkBufferAppendC(...) MkBufferAppendC_RT(MK_RT_CALL __VA_ARGS__)
811
812
813 // doc-key: MkBufferC,MkBufferC-Access,om_
814 #define MkBufferAppendV(...) MkBufferAppendV_RT(MK_RT_CALL __VA_ARGS__)
815 #define MkBufferAppendVL(...) MkBufferAppendVL_RT(MK_RT_CALL __VA_ARGS__)
816 #define MkBufferPop(...) MkBufferPop_RT(MK_RT_CALL __VA_ARGS__)
817 #define MkBufferPush(...) MkBufferPush_RT(MK_RT_CALL __VA_ARGS__)
818
819
820 // doc-key: MkBufferC,MkBufferC-Access,omo
821 #define MkBufferToObject(...) MkBufferToObject_RT(MK_RT_CALL __VA_ARGS__)
822 #define MkBufferToObject_E(...) MkErrorCheck(MkBufferToObject(__VA_ARGS__))
823 #define MkBufferToObject_C(...) if (MkErrorCheckI(MkBufferToObject(__VA_ARGS__)))
824 #define MkBufferToObject_e(...) MK_EMBEDDED(MK_NAT_OBJECT,MkBufferToObject,__VA_ARGS__)
825
828
833
834 // doc-key: MkBufferC,MkBufferC-Get,oci
835 #define MkBufferGetL(...) MkBufferGetL_RT(MK_RT_CALL __VA_ARGS__)
836 #define MkBufferGetL_E(...) MkErrorCheck(MkBufferGetL(__VA_ARGS__))
837 #define MkBufferGetL_C(...) if (MkErrorCheckI(MkBufferGetL(__VA_ARGS__)))
838 #define MkBufferGetL_e(...) MK_EMBEDDED(MK_BFL,MkBufferGetL,__VA_ARGS__)
839
840
841 // doc-key: MkBufferC,MkBufferC-Get,oco
842 #define MkBufferGetU(...) MkBufferGetU_RT(MK_RT_CALL __VA_ARGS__)
843 #define MkBufferGetU_E(...) MkErrorCheck(MkBufferGetU(__VA_ARGS__))
844 #define MkBufferGetU_C(...) if (MkErrorCheckI(MkBufferGetU(__VA_ARGS__)))
845 #define MkBufferGetU_e(...) MK_EMBEDDED(MK_BUF,MkBufferGetU,__VA_ARGS__)
846
847
848 // doc-key: MkBufferC,MkBufferC-Get,omo
849 #define MkBufferGetB(...) MkBufferGetB_RT(MK_RT_CALL __VA_ARGS__)
850 #define MkBufferGetB_E(...) MkErrorCheck(MkBufferGetB(__VA_ARGS__))
851 #define MkBufferGetB_C(...) if (MkErrorCheckI(MkBufferGetB(__VA_ARGS__)))
852 #define MkBufferGetB_e(...) MK_EMBEDDED(MkBinaryR,MkBufferGetB,__VA_ARGS__)
853 #define MkBufferGetBOOL(...) MkBufferGetBOOL_RT(MK_RT_CALL __VA_ARGS__)
854 #define MkBufferGetBOOL_E(...) MkErrorCheck(MkBufferGetBOOL(__VA_ARGS__))
855 #define MkBufferGetBOOL_C(...) if (MkErrorCheckI(MkBufferGetBOOL(__VA_ARGS__)))
856 #define MkBufferGetBOOL_e(...) MK_EMBEDDED(MK_BOOL,MkBufferGetBOOL,__VA_ARGS__)
857 #define MkBufferGetC(...) MkBufferGetC_RT(MK_RT_CALL __VA_ARGS__)
858 #define MkBufferGetC_E(...) MkErrorCheck(MkBufferGetC(__VA_ARGS__))
859 #define MkBufferGetC_C(...) if (MkErrorCheckI(MkBufferGetC(__VA_ARGS__)))
860 #define MkBufferGetC_e(...) MK_EMBEDDED(MK_STRN,MkBufferGetC,__VA_ARGS__)
861 #define MkBufferGetD(...) MkBufferGetD_RT(MK_RT_CALL __VA_ARGS__)
862 #define MkBufferGetD_E(...) MkErrorCheck(MkBufferGetD(__VA_ARGS__))
863 #define MkBufferGetD_C(...) if (MkErrorCheckI(MkBufferGetD(__VA_ARGS__)))
864 #define MkBufferGetD_e(...) MK_EMBEDDED(MK_DBL,MkBufferGetD,__VA_ARGS__)
865 #define MkBufferGetF(...) MkBufferGetF_RT(MK_RT_CALL __VA_ARGS__)
866 #define MkBufferGetF_E(...) MkErrorCheck(MkBufferGetF(__VA_ARGS__))
867 #define MkBufferGetF_C(...) if (MkErrorCheckI(MkBufferGetF(__VA_ARGS__)))
868 #define MkBufferGetF_e(...) MK_EMBEDDED(MK_FLT,MkBufferGetF,__VA_ARGS__)
869 #define MkBufferGetI(...) MkBufferGetI_RT(MK_RT_CALL __VA_ARGS__)
870 #define MkBufferGetI_E(...) MkErrorCheck(MkBufferGetI(__VA_ARGS__))
871 #define MkBufferGetI_C(...) if (MkErrorCheckI(MkBufferGetI(__VA_ARGS__)))
872 #define MkBufferGetI_e(...) MK_EMBEDDED(MK_INT,MkBufferGetI,__VA_ARGS__)
873 #define MkBufferGetLL(...) MkBufferGetLL_RT(MK_RT_CALL __VA_ARGS__)
874 #define MkBufferGetLL_E(...) MkErrorCheck(MkBufferGetLL(__VA_ARGS__))
875 #define MkBufferGetLL_C(...) if (MkErrorCheckI(MkBufferGetLL(__VA_ARGS__)))
876 #define MkBufferGetLL_e(...) MK_EMBEDDED(MK_WID,MkBufferGetLL,__VA_ARGS__)
877 #define MkBufferGetLONG(...) MkBufferGetLONG_RT(MK_RT_CALL __VA_ARGS__)
878 #define MkBufferGetLONG_E(...) MkErrorCheck(MkBufferGetLONG(__VA_ARGS__))
879 #define MkBufferGetLONG_C(...) if (MkErrorCheckI(MkBufferGetLONG(__VA_ARGS__)))
880 #define MkBufferGetLONG_e(...) MK_EMBEDDED(MK_LONG,MkBufferGetLONG,__VA_ARGS__)
881 #define MkBufferGetO(...) MkBufferGetO_RT(MK_RT_CALL __VA_ARGS__)
882 #define MkBufferGetO_E(...) MkErrorCheck(MkBufferGetO(__VA_ARGS__))
883 #define MkBufferGetO_C(...) if (MkErrorCheckI(MkBufferGetO(__VA_ARGS__)))
884 #define MkBufferGetO_e(...) MK_EMBEDDED(MK_BOL,MkBufferGetO,__VA_ARGS__)
885 #define MkBufferGetS(...) MkBufferGetS_RT(MK_RT_CALL __VA_ARGS__)
886 #define MkBufferGetS_E(...) MkErrorCheck(MkBufferGetS(__VA_ARGS__))
887 #define MkBufferGetS_C(...) if (MkErrorCheckI(MkBufferGetS(__VA_ARGS__)))
888 #define MkBufferGetS_e(...) MK_EMBEDDED(MK_SRT,MkBufferGetS,__VA_ARGS__)
889 #define MkBufferGetUI(...) MkBufferGetUI_RT(MK_RT_CALL __VA_ARGS__)
890 #define MkBufferGetUI_E(...) MkErrorCheck(MkBufferGetUI(__VA_ARGS__))
891 #define MkBufferGetUI_C(...) if (MkErrorCheckI(MkBufferGetUI(__VA_ARGS__)))
892 #define MkBufferGetUI_e(...) MK_EMBEDDED(MK_INT,MkBufferGetUI,__VA_ARGS__)
893 #define MkBufferGetUS(...) MkBufferGetUS_RT(MK_RT_CALL __VA_ARGS__)
894 #define MkBufferGetUS_E(...) MkErrorCheck(MkBufferGetUS(__VA_ARGS__))
895 #define MkBufferGetUS_C(...) if (MkErrorCheckI(MkBufferGetUS(__VA_ARGS__)))
896 #define MkBufferGetUS_e(...) MK_EMBEDDED(MK_SRT,MkBufferGetUS,__VA_ARGS__)
897 #define MkBufferGetW(...) MkBufferGetW_RT(MK_RT_CALL __VA_ARGS__)
898 #define MkBufferGetW_E(...) MkErrorCheck(MkBufferGetW(__VA_ARGS__))
899 #define MkBufferGetW_C(...) if (MkErrorCheckI(MkBufferGetW(__VA_ARGS__)))
900 #define MkBufferGetW_e(...) MK_EMBEDDED(MK_WID,MkBufferGetW,__VA_ARGS__)
901 #define MkBufferGetY(...) MkBufferGetY_RT(MK_RT_CALL __VA_ARGS__)
902 #define MkBufferGetY_E(...) MkErrorCheck(MkBufferGetY(__VA_ARGS__))
903 #define MkBufferGetY_C(...) if (MkErrorCheckI(MkBufferGetY(__VA_ARGS__)))
904 #define MkBufferGetY_e(...) MK_EMBEDDED(MK_BYT,MkBufferGetY,__VA_ARGS__)
905
908
913
914 // doc-key: MkBufferC,MkBufferC-Info,om_
915 #define MkBufferGetType1(...) MkBufferGetType1_RT(MK_RT_CALL __VA_ARGS__)
916 #define MkBufferGetType2(...) MkBufferGetType2_RT(MK_RT_CALL __VA_ARGS__)
917 #define MkBufferGetType3(...) MkBufferGetType3_RT(MK_RT_CALL __VA_ARGS__)
918 #define MkBufferIsLocal(...) MkBufferIsLocal_RT(MK_RT_CALL __VA_ARGS__)
919 #define MkBufferLog(...) MkBufferLog_RT(MK_RT_CALL __VA_ARGS__)
920 #define MkBufferLog_4(buf,fmtobj,debug,callfunc) MkBufferLog(buf,fmtobj,debug,callfunc,0)
921 #define MkBufferLog_3(buf,fmtobj,debug) MkBufferLog(buf,fmtobj,debug,__func__,0)
922 #define MkBufferLog_2(buf,fmtobj) MkBufferLog(buf,fmtobj,0,__func__,0)
923 #define MkBufferLog_1(buf) MkBufferLog(buf,NULL,0,__func__,0)
924 #define MkBufferLogS(...) MkBufferLogS_RT(MK_RT_CALL __VA_ARGS__)
925 #define MkBufferLogS_3(buf,varname,fmtobj) MkBufferLogS(buf,varname,fmtobj,__func__)
926 #define MkBufferLogS_2(buf,varname) MkBufferLogS(buf,varname,NULL,__func__)
927 #define MkBufferLogS_1(buf) MkBufferLogS(buf,"buf",NULL,__func__)
928 #define MkBufferLogSS(...) MkBufferLogSS_RT(MK_RT_CALL __VA_ARGS__)
929 #define MkBufferLogSS_3(buf,varname,fmtobj) MkBufferLogSS(buf,varname,fmtobj,__func__)
930 #define MkBufferLogSS_2(buf,varname) MkBufferLogSS(buf,varname,NULL,__func__)
931 #define MkBufferLogSS_1(buf) MkBufferLogSS(buf,"buf",NULL,__func__)
932
935
940
941 // doc-key: MkBufferC,MkBufferC-Misc,oc_
942 #define MkBufferCopy(...) MkBufferCopy_RT(MK_RT_CALL __VA_ARGS__)
943 #define MkBufferSizeAdd(...) MkBufferSizeAdd_RT(MK_RT_CALL __VA_ARGS__)
944 #define MkBufferSizeNew(...) MkBufferSizeNew_RT(MK_RT_CALL __VA_ARGS__)
945 #define MkBufferTemp(...) MkBufferTemp_RT(MK_RT_CALL __VA_ARGS__)
946
947
948 // doc-key: MkBufferC,MkBufferC-Misc,om_
949 #define MkBufferCastTo(...) MkBufferCastTo_RT(MK_RT_CALL __VA_ARGS__)
950 #define MkBufferCastTo_E(...) MkErrorCheck(MkBufferCastTo(__VA_ARGS__))
951 #define MkBufferCastTo_C(...) if (MkErrorCheckI(MkBufferCastTo(__VA_ARGS__)))
952 #define MkBufferCmp(...) MkBufferCmp_RT(MK_RT_CALL __VA_ARGS__)
953 #define MkBufferReset(...) MkBufferReset_RT(MK_RT_CALL __VA_ARGS__)
954 #define MkBufferResetFull(...) MkBufferResetFull_RT(MK_RT_CALL __VA_ARGS__)
955 #define MkBufferToString(...) MkBufferToString_RT(MK_RT_CALL __VA_ARGS__)
956
959
964
965 // doc-key: MkBufferC,MkBufferC-Set,oc_
966 #define MkBufferSetB(...) MkBufferSetB_RT(MK_RT_CALL __VA_ARGS__)
967 #define MkBufferSetC(...) MkBufferSetC_RT(MK_RT_CALL __VA_ARGS__)
968 #define MkBufferSetD(...) MkBufferSetD_RT(MK_RT_CALL __VA_ARGS__)
969 #define MkBufferSetF(...) MkBufferSetF_RT(MK_RT_CALL __VA_ARGS__)
970 #define MkBufferSetI(...) MkBufferSetI_RT(MK_RT_CALL __VA_ARGS__)
971 #define MkBufferSetO(...) MkBufferSetO_RT(MK_RT_CALL __VA_ARGS__)
972 #define MkBufferSetS(...) MkBufferSetS_RT(MK_RT_CALL __VA_ARGS__)
973 #define MkBufferSetU(...) MkBufferSetU_RT(MK_RT_CALL __VA_ARGS__)
974 #define MkBufferSetV(...) MkBufferSetV_RT(MK_RT_CALL __VA_ARGS__)
975 #define MkBufferSetVL(...) MkBufferSetVL_RT(MK_RT_CALL __VA_ARGS__)
976 #define MkBufferSetW(...) MkBufferSetW_RT(MK_RT_CALL __VA_ARGS__)
977 #define MkBufferSetY(...) MkBufferSetY_RT(MK_RT_CALL __VA_ARGS__)
978
981
986
987 // doc-key: MkBufferC,MkBufferC-TOR,oC_
988 #define MkBufferMerge(...) MkBufferMerge_RT(MK_RT_CALL __VA_ARGS__)
989
990
991 // doc-key: MkBufferC,MkBufferC-TOR,oCx
992 #define MkBufferDup(...) MkBufferDup_RT(MK_RT_CALL __VA_ARGS__)
993
994
995 // doc-key: MkBufferC,MkBufferC-TOR,sCc
996 #define MkBufferCreate(...) MkBufferCreate_RT(MK_RT_CALL __VA_ARGS__)
997 #define MkBufferCreate_1(size) MkBufferCreate(NULL,size)
998 #define MkBufferCreate_0() MkBufferCreate(NULL,0)
999 #define MkBufferCreate1024(...) MkBufferCreate1024_RT(MK_RT_CALL __VA_ARGS__)
1000 #define MkBufferCreate1024_0() MkBufferCreate1024(0)
1001 #define MkBufferCreate256(...) MkBufferCreate256_RT(MK_RT_CALL __VA_ARGS__)
1002 #define MkBufferCreate256_0() MkBufferCreate256(0)
1003 #define MkBufferCreate64(...) MkBufferCreate64_RT(MK_RT_CALL __VA_ARGS__)
1004 #define MkBufferCreate64_0() MkBufferCreate64(0)
1005 #define MkBufferCreateB(...) MkBufferCreateB_RT(MK_RT_CALL __VA_ARGS__)
1006 #define MkBufferCreateC(...) MkBufferCreateC_RT(MK_RT_CALL __VA_ARGS__)
1007 #define MkBufferCreateD(...) MkBufferCreateD_RT(MK_RT_CALL __VA_ARGS__)
1008 #define MkBufferCreateF(...) MkBufferCreateF_RT(MK_RT_CALL __VA_ARGS__)
1009 #define MkBufferCreateI(...) MkBufferCreateI_RT(MK_RT_CALL __VA_ARGS__)
1010 #define MkBufferCreateO(...) MkBufferCreateO_RT(MK_RT_CALL __VA_ARGS__)
1011 #define MkBufferCreateS(...) MkBufferCreateS_RT(MK_RT_CALL __VA_ARGS__)
1012 #define MkBufferCreateTLS(...) MkBufferCreateTLS_RT(MK_RT_CALL __VA_ARGS__)
1013 #define MkBufferCreateU(...) MkBufferCreateU_RT(MK_RT_CALL __VA_ARGS__)
1014 #define MkBufferCreateW(...) MkBufferCreateW_RT(MK_RT_CALL __VA_ARGS__)
1015 #define MkBufferCreateY(...) MkBufferCreateY_RT(MK_RT_CALL __VA_ARGS__)
1016
1017
1018 // doc-key: MkBufferC,MkBufferC-TOR,oD_
1019 #define MkBufferDelete(x) MkObjectDeleteToNull(MkBufferDelete_RT,x)
1020
1021
1022 // doc-key: MkBufferC,MkBufferC-TOR,om_
1023 #define MkBufferFree(...) MkBufferFree_RT(MK_RT_CALL __VA_ARGS__)
1024 #define MkBufferInit(...) MkBufferInit_RT(MK_RT_CALL __VA_ARGS__)
1025 #define MkBufferInit_2(buf,size) MkBufferInit(buf,NULL,size)
1026 #define MkBufferInit_1(buf) MkBufferInit(buf,NULL,0)
1027
1030// END-MkBufferC - created by 'c_Overload.tcl -i NHI1_HOME/theKernel/libmkkernel/.libmkkernel.meta' - DO NOT change
1031
1032// BEGIN-MkBufferStreamC - created by 'c_Overload.tcl -i NHI1_HOME/theKernel/libmkkernel/.libmkkernel.meta' - DO NOT change
1033
1038
1039 // doc-key: MkBufferStreamC,MkBufferStreamC-Misc,oc_
1040 #define MkBufferStreamCopy(...) MkBufferStreamCopy_RT(MK_RT_CALL __VA_ARGS__)
1041
1042
1043 // doc-key: MkBufferStreamC,MkBufferStreamC-Misc,om_
1044 #define MkBufferStreamLog(...) MkBufferStreamLog_RT(MK_RT_CALL __VA_ARGS__)
1045 #define MkBufferStreamLog_4(bus,fmtobj,debug,callfunc) MkBufferStreamLog(bus,fmtobj,debug,callfunc,0)
1046 #define MkBufferStreamLog_3(bus,fmtobj,debug) MkBufferStreamLog(bus,fmtobj,debug,__func__,0)
1047 #define MkBufferStreamLog_2(bus,fmtobj) MkBufferStreamLog(bus,fmtobj,0,__func__,0)
1048 #define MkBufferStreamLog_1(bus) MkBufferStreamLog(bus,NULL,0,__func__,0)
1049 #define MkBufferStreamLogS(...) MkBufferStreamLogS_RT(MK_RT_CALL __VA_ARGS__)
1050 #define MkBufferStreamLogS_2(bus,fmtobj) MkBufferStreamLogS(bus,fmtobj,__func__)
1051 #define MkBufferStreamLogS_1(bus) MkBufferStreamLogS(bus,NULL,__func__)
1052 #define MkBufferStreamPosToStart(...) MkBufferStreamPosToStart_RT(MK_RT_CALL __VA_ARGS__)
1053 #define MkBufferStreamReset(...) MkBufferStreamReset_RT(MK_RT_CALL __VA_ARGS__)
1054 #define MkBufferStreamResetFull(...) MkBufferStreamResetFull_RT(MK_RT_CALL __VA_ARGS__)
1055
1058
1063
1064 // doc-key: MkBufferStreamC,MkBufferStreamC-Read,oci
1065 #define MkBufferStreamReadALL(...) MkBufferStreamReadALL_RT(MK_RT_CALL __VA_ARGS__)
1066 #define MkBufferStreamReadALL_E(...) MkErrorCheck(MkBufferStreamReadALL(__VA_ARGS__))
1067 #define MkBufferStreamReadALL_C(...) if (MkErrorCheckI(MkBufferStreamReadALL(__VA_ARGS__)))
1068 #define MkBufferStreamReadALL_e(...) MK_EMBEDDED(MK_BFL,MkBufferStreamReadALL,__VA_ARGS__)
1069
1070
1071 // doc-key: MkBufferStreamC,MkBufferStreamC-Read,oco
1072 #define MkBufferStreamReadL(...) MkBufferStreamReadL_RT(MK_RT_CALL __VA_ARGS__)
1073 #define MkBufferStreamReadL_E(...) MkErrorCheck(MkBufferStreamReadL(__VA_ARGS__))
1074 #define MkBufferStreamReadL_C(...) if (MkErrorCheckI(MkBufferStreamReadL(__VA_ARGS__)))
1075 #define MkBufferStreamReadL_e(...) MK_EMBEDDED(MK_BFL,MkBufferStreamReadL,__VA_ARGS__)
1076 #define MkBufferStreamReadU(...) MkBufferStreamReadU_RT(MK_RT_CALL __VA_ARGS__)
1077 #define MkBufferStreamReadU_E(...) MkErrorCheck(MkBufferStreamReadU(__VA_ARGS__))
1078 #define MkBufferStreamReadU_C(...) if (MkErrorCheckI(MkBufferStreamReadU(__VA_ARGS__)))
1079 #define MkBufferStreamReadU_e(...) MK_EMBEDDED(MK_BUF,MkBufferStreamReadU,__VA_ARGS__)
1080
1081
1082 // doc-key: MkBufferStreamC,MkBufferStreamC-Read,om_
1083 #define MkBufferStreamReadGetNextType(...) MkBufferStreamReadGetNextType_RT(MK_RT_CALL __VA_ARGS__)
1084 #define MkBufferStreamReadGetNumItems(...) MkBufferStreamReadGetNumItems_RT(MK_RT_CALL __VA_ARGS__)
1085 #define MkBufferStreamReadItemExists(...) MkBufferStreamReadItemExists_RT(MK_RT_CALL __VA_ARGS__)
1086 #define MkBufferStreamReadL_END(...) MkBufferStreamReadL_END_RT(MK_RT_CALL __VA_ARGS__)
1087 #define MkBufferStreamReadL_END_E(...) MkErrorCheck(MkBufferStreamReadL_END(__VA_ARGS__))
1088 #define MkBufferStreamReadL_END_C(...) if (MkErrorCheckI(MkBufferStreamReadL_END(__VA_ARGS__)))
1089 #define MkBufferStreamReadL_START(...) MkBufferStreamReadL_START_RT(MK_RT_CALL __VA_ARGS__)
1090 #define MkBufferStreamReadL_START_1(bus) MkBufferStreamReadL_START(bus,NULL)
1091 #define MkBufferStreamReadL_START_E(...) MkErrorCheck(MkBufferStreamReadL_START(__VA_ARGS__))
1092 #define MkBufferStreamReadL_START_C(...) if (MkErrorCheckI(MkBufferStreamReadL_START(__VA_ARGS__)))
1093 #define MkBufferStreamReadUndo(...) MkBufferStreamReadUndo_RT(MK_RT_CALL __VA_ARGS__)
1094 #define MkBufferStreamReadUndo_E(...) MkErrorCheck(MkBufferStreamReadUndo(__VA_ARGS__))
1095 #define MkBufferStreamReadUndo_C(...) if (MkErrorCheckI(MkBufferStreamReadUndo(__VA_ARGS__)))
1096
1097
1098 // doc-key: MkBufferStreamC,MkBufferStreamC-Read,omo
1099 #define MkBufferStreamReadB(...) MkBufferStreamReadB_RT(MK_RT_CALL __VA_ARGS__)
1100 #define MkBufferStreamReadB_E(...) MkErrorCheck(MkBufferStreamReadB(__VA_ARGS__))
1101 #define MkBufferStreamReadB_C(...) if (MkErrorCheckI(MkBufferStreamReadB(__VA_ARGS__)))
1102 #define MkBufferStreamReadB_e(...) MK_EMBEDDED(MkBinaryR,MkBufferStreamReadB,__VA_ARGS__)
1103 #define MkBufferStreamReadC(...) MkBufferStreamReadC_RT(MK_RT_CALL __VA_ARGS__)
1104 #define MkBufferStreamReadC_E(...) MkErrorCheck(MkBufferStreamReadC(__VA_ARGS__))
1105 #define MkBufferStreamReadC_C(...) if (MkErrorCheckI(MkBufferStreamReadC(__VA_ARGS__)))
1106 #define MkBufferStreamReadC_e(...) MK_EMBEDDED(MK_STRN,MkBufferStreamReadC,__VA_ARGS__)
1107 #define MkBufferStreamReadD(...) MkBufferStreamReadD_RT(MK_RT_CALL __VA_ARGS__)
1108 #define MkBufferStreamReadD_E(...) MkErrorCheck(MkBufferStreamReadD(__VA_ARGS__))
1109 #define MkBufferStreamReadD_C(...) if (MkErrorCheckI(MkBufferStreamReadD(__VA_ARGS__)))
1110 #define MkBufferStreamReadD_e(...) MK_EMBEDDED(MK_DBL,MkBufferStreamReadD,__VA_ARGS__)
1111 #define MkBufferStreamReadF(...) MkBufferStreamReadF_RT(MK_RT_CALL __VA_ARGS__)
1112 #define MkBufferStreamReadF_E(...) MkErrorCheck(MkBufferStreamReadF(__VA_ARGS__))
1113 #define MkBufferStreamReadF_C(...) if (MkErrorCheckI(MkBufferStreamReadF(__VA_ARGS__)))
1114 #define MkBufferStreamReadF_e(...) MK_EMBEDDED(MK_FLT,MkBufferStreamReadF,__VA_ARGS__)
1115 #define MkBufferStreamReadI(...) MkBufferStreamReadI_RT(MK_RT_CALL __VA_ARGS__)
1116 #define MkBufferStreamReadI_E(...) MkErrorCheck(MkBufferStreamReadI(__VA_ARGS__))
1117 #define MkBufferStreamReadI_C(...) if (MkErrorCheckI(MkBufferStreamReadI(__VA_ARGS__)))
1118 #define MkBufferStreamReadI_e(...) MK_EMBEDDED(MK_INT,MkBufferStreamReadI,__VA_ARGS__)
1119 #define MkBufferStreamReadLONG(...) MkBufferStreamReadLONG_RT(MK_RT_CALL __VA_ARGS__)
1120 #define MkBufferStreamReadLONG_E(...) MkErrorCheck(MkBufferStreamReadLONG(__VA_ARGS__))
1121 #define MkBufferStreamReadLONG_C(...) if (MkErrorCheckI(MkBufferStreamReadLONG(__VA_ARGS__)))
1122 #define MkBufferStreamReadLONG_e(...) MK_EMBEDDED(MK_LONG,MkBufferStreamReadLONG,__VA_ARGS__)
1123 #define MkBufferStreamReadO(...) MkBufferStreamReadO_RT(MK_RT_CALL __VA_ARGS__)
1124 #define MkBufferStreamReadO_E(...) MkErrorCheck(MkBufferStreamReadO(__VA_ARGS__))
1125 #define MkBufferStreamReadO_C(...) if (MkErrorCheckI(MkBufferStreamReadO(__VA_ARGS__)))
1126 #define MkBufferStreamReadO_e(...) MK_EMBEDDED(MK_BOL,MkBufferStreamReadO,__VA_ARGS__)
1127 #define MkBufferStreamReadW(...) MkBufferStreamReadW_RT(MK_RT_CALL __VA_ARGS__)
1128 #define MkBufferStreamReadW_E(...) MkErrorCheck(MkBufferStreamReadW(__VA_ARGS__))
1129 #define MkBufferStreamReadW_C(...) if (MkErrorCheckI(MkBufferStreamReadW(__VA_ARGS__)))
1130 #define MkBufferStreamReadW_e(...) MK_EMBEDDED(MK_WID,MkBufferStreamReadW,__VA_ARGS__)
1131 #define MkBufferStreamReadY(...) MkBufferStreamReadY_RT(MK_RT_CALL __VA_ARGS__)
1132 #define MkBufferStreamReadY_E(...) MkErrorCheck(MkBufferStreamReadY(__VA_ARGS__))
1133 #define MkBufferStreamReadY_C(...) if (MkErrorCheckI(MkBufferStreamReadY(__VA_ARGS__)))
1134 #define MkBufferStreamReadY_e(...) MK_EMBEDDED(MK_BYT,MkBufferStreamReadY,__VA_ARGS__)
1135
1138
1143
1144 // doc-key: MkBufferStreamC,MkBufferStreamC-TOR,oC_
1145 #define MkBufferStreamMerge(...) MkBufferStreamMerge_RT(MK_RT_CALL __VA_ARGS__)
1146
1147
1148 // doc-key: MkBufferStreamC,MkBufferStreamC-TOR,oCx
1149 #define MkBufferStreamDup(...) MkBufferStreamDup_RT(MK_RT_CALL __VA_ARGS__)
1150
1151
1152 // doc-key: MkBufferStreamC,MkBufferStreamC-TOR,sCc
1153 #define MkBufferStreamCreate(...) MkBufferStreamCreate_RT(MK_RT_CALL __VA_ARGS__)
1154 #define MkBufferStreamCreate_1(size) MkBufferStreamCreate(NULL,size)
1155 #define MkBufferStreamCreate_0() MkBufferStreamCreate(NULL,0)
1156 #define MkBufferStreamCreate1024(...) MkBufferStreamCreate1024_RT(MK_RT_CALL __VA_ARGS__)
1157 #define MkBufferStreamCreate1024_0() MkBufferStreamCreate1024(0)
1158 #define MkBufferStreamCreate16384(...) MkBufferStreamCreate16384_RT(MK_RT_CALL __VA_ARGS__)
1159 #define MkBufferStreamCreate16384_0() MkBufferStreamCreate16384(0)
1160 #define MkBufferStreamCreate256(...) MkBufferStreamCreate256_RT(MK_RT_CALL __VA_ARGS__)
1161 #define MkBufferStreamCreate256_0() MkBufferStreamCreate256(0)
1162 #define MkBufferStreamCreate64(...) MkBufferStreamCreate64_RT(MK_RT_CALL __VA_ARGS__)
1163 #define MkBufferStreamCreate64_0() MkBufferStreamCreate64(0)
1164 #define MkBufferStreamCreateTLS(...) MkBufferStreamCreateTLS_RT(MK_RT_CALL __VA_ARGS__)
1165
1166
1167 // doc-key: MkBufferStreamC,MkBufferStreamC-TOR,oD_
1168 #define MkBufferStreamDelete(x) MkObjectDeleteToNull(MkBufferStreamDelete_RT,x)
1169
1170
1171 // doc-key: MkBufferStreamC,MkBufferStreamC-TOR,om_
1172 #define MkBufferStreamFree(...) MkBufferStreamFree_RT(MK_RT_CALL __VA_ARGS__)
1173 #define MkBufferStreamInit(...) MkBufferStreamInit_RT(MK_RT_CALL __VA_ARGS__)
1174 #define MkBufferStreamInit_2(bus,size) MkBufferStreamInit(bus,NULL,size)
1175 #define MkBufferStreamInit_1(bus) MkBufferStreamInit(bus,NULL,0)
1176
1179
1184
1185 // doc-key: MkBufferStreamC,MkBufferStreamC-Write,om_
1186 #define MkBufferStreamWriteB(...) MkBufferStreamWriteB_RT(MK_RT_CALL __VA_ARGS__)
1187 #define MkBufferStreamWriteB_E(...) MkErrorCheck(MkBufferStreamWriteB(__VA_ARGS__))
1188 #define MkBufferStreamWriteB_C(...) if (MkErrorCheckI(MkBufferStreamWriteB(__VA_ARGS__)))
1189 #define MkBufferStreamWriteC(...) MkBufferStreamWriteC_RT(MK_RT_CALL __VA_ARGS__)
1190 #define MkBufferStreamWriteC_E(...) MkErrorCheck(MkBufferStreamWriteC(__VA_ARGS__))
1191 #define MkBufferStreamWriteC_C(...) if (MkErrorCheckI(MkBufferStreamWriteC(__VA_ARGS__)))
1192 #define MkBufferStreamWriteD(...) MkBufferStreamWriteD_RT(MK_RT_CALL __VA_ARGS__)
1193 #define MkBufferStreamWriteD_E(...) MkErrorCheck(MkBufferStreamWriteD(__VA_ARGS__))
1194 #define MkBufferStreamWriteD_C(...) if (MkErrorCheckI(MkBufferStreamWriteD(__VA_ARGS__)))
1195 #define MkBufferStreamWriteF(...) MkBufferStreamWriteF_RT(MK_RT_CALL __VA_ARGS__)
1196 #define MkBufferStreamWriteF_E(...) MkErrorCheck(MkBufferStreamWriteF(__VA_ARGS__))
1197 #define MkBufferStreamWriteF_C(...) if (MkErrorCheckI(MkBufferStreamWriteF(__VA_ARGS__)))
1198 #define MkBufferStreamWriteI(...) MkBufferStreamWriteI_RT(MK_RT_CALL __VA_ARGS__)
1199 #define MkBufferStreamWriteI_E(...) MkErrorCheck(MkBufferStreamWriteI(__VA_ARGS__))
1200 #define MkBufferStreamWriteI_C(...) if (MkErrorCheckI(MkBufferStreamWriteI(__VA_ARGS__)))
1201 #define MkBufferStreamWriteL(...) MkBufferStreamWriteL_RT(MK_RT_CALL __VA_ARGS__)
1202 #define MkBufferStreamWriteL_E(...) MkErrorCheck(MkBufferStreamWriteL(__VA_ARGS__))
1203 #define MkBufferStreamWriteL_C(...) if (MkErrorCheckI(MkBufferStreamWriteL(__VA_ARGS__)))
1204 #define MkBufferStreamWriteLONG(...) MkBufferStreamWriteLONG_RT(MK_RT_CALL __VA_ARGS__)
1205 #define MkBufferStreamWriteLONG_E(...) MkErrorCheck(MkBufferStreamWriteLONG(__VA_ARGS__))
1206 #define MkBufferStreamWriteLONG_C(...) if (MkErrorCheckI(MkBufferStreamWriteLONG(__VA_ARGS__)))
1207 #define MkBufferStreamWriteL_END(...) MkBufferStreamWriteL_END_RT(MK_RT_CALL __VA_ARGS__)
1208 #define MkBufferStreamWriteL_END_E(...) MkErrorCheck(MkBufferStreamWriteL_END(__VA_ARGS__))
1209 #define MkBufferStreamWriteL_END_C(...) if (MkErrorCheckI(MkBufferStreamWriteL_END(__VA_ARGS__)))
1210 #define MkBufferStreamWriteL_FLAT(...) MkBufferStreamWriteL_FLAT_RT(MK_RT_CALL __VA_ARGS__)
1211 #define MkBufferStreamWriteL_FLAT_E(...) MkErrorCheck(MkBufferStreamWriteL_FLAT(__VA_ARGS__))
1212 #define MkBufferStreamWriteL_FLAT_C(...) if (MkErrorCheckI(MkBufferStreamWriteL_FLAT(__VA_ARGS__)))
1213 #define MkBufferStreamWriteL_START(...) MkBufferStreamWriteL_START_RT(MK_RT_CALL __VA_ARGS__)
1214 #define MkBufferStreamWriteL_START_E(...) MkErrorCheck(MkBufferStreamWriteL_START(__VA_ARGS__))
1215 #define MkBufferStreamWriteL_START_C(...) if (MkErrorCheckI(MkBufferStreamWriteL_START(__VA_ARGS__)))
1216 #define MkBufferStreamWriteO(...) MkBufferStreamWriteO_RT(MK_RT_CALL __VA_ARGS__)
1217 #define MkBufferStreamWriteO_E(...) MkErrorCheck(MkBufferStreamWriteO(__VA_ARGS__))
1218 #define MkBufferStreamWriteO_C(...) if (MkErrorCheckI(MkBufferStreamWriteO(__VA_ARGS__)))
1219 #define MkBufferStreamWriteU(...) MkBufferStreamWriteU_RT(MK_RT_CALL __VA_ARGS__)
1220 #define MkBufferStreamWriteU_E(...) MkErrorCheck(MkBufferStreamWriteU(__VA_ARGS__))
1221 #define MkBufferStreamWriteU_C(...) if (MkErrorCheckI(MkBufferStreamWriteU(__VA_ARGS__)))
1222 #define MkBufferStreamWriteV(...) MkBufferStreamWriteV_RT(MK_RT_CALL __VA_ARGS__)
1223 #define MkBufferStreamWriteV_E(...) MkErrorCheck(MkBufferStreamWriteV(__VA_ARGS__))
1224 #define MkBufferStreamWriteV_C(...) if (MkErrorCheckI(MkBufferStreamWriteV(__VA_ARGS__)))
1225 #define MkBufferStreamWriteVL(...) MkBufferStreamWriteVL_RT(MK_RT_CALL __VA_ARGS__)
1226 #define MkBufferStreamWriteVL_E(...) MkErrorCheck(MkBufferStreamWriteVL(__VA_ARGS__))
1227 #define MkBufferStreamWriteVL_C(...) if (MkErrorCheckI(MkBufferStreamWriteVL(__VA_ARGS__)))
1228 #define MkBufferStreamWriteW(...) MkBufferStreamWriteW_RT(MK_RT_CALL __VA_ARGS__)
1229 #define MkBufferStreamWriteW_E(...) MkErrorCheck(MkBufferStreamWriteW(__VA_ARGS__))
1230 #define MkBufferStreamWriteW_C(...) if (MkErrorCheckI(MkBufferStreamWriteW(__VA_ARGS__)))
1231 #define MkBufferStreamWriteY(...) MkBufferStreamWriteY_RT(MK_RT_CALL __VA_ARGS__)
1232 #define MkBufferStreamWriteY_E(...) MkErrorCheck(MkBufferStreamWriteY(__VA_ARGS__))
1233 #define MkBufferStreamWriteY_C(...) if (MkErrorCheckI(MkBufferStreamWriteY(__VA_ARGS__)))
1234
1237// END-MkBufferStreamC - created by 'c_Overload.tcl -i NHI1_HOME/theKernel/libmkkernel/.libmkkernel.meta' - DO NOT change
1238
1239// BEGIN-MkObjectC - created by 'c_Overload.tcl -i NHI1_HOME/theKernel/libmkkernel/.libmkkernel.meta' - DO NOT change
1240
1245
1246 // doc-key: MkObjectC,MkObjectC-Dbg,om_
1247 #define MkDbgDump(...) MkDbgDump_RT(MK_RT_CALL __VA_ARGS__)
1248 #define MkDbgDump_2(obj,message) MkDbgDump(obj,message,__func__)
1249 #define MkDbgDump_1(obj) MkDbgDump(obj,"var",__func__)
1250 #define MkDbgDump_E(...) MkErrorCheck(MkDbgDump(__VA_ARGS__))
1251 #define MkDbgDump_C(...) if (MkErrorCheckI(MkDbgDump(__VA_ARGS__)))
1252 #define MkDbgL(...) MkDbgL_RT(MK_RT_CALL __VA_ARGS__)
1253 #define MkDbgL_4(fmtobj,message,debug,callfunc) MkDbgL(fmtobj,message,debug,callfunc,0)
1254 #define MkDbgL_3(fmtobj,message,debug) MkDbgL(fmtobj,message,debug,__func__,0)
1255 #define MkDbgL_2(fmtobj,message) MkDbgL(fmtobj,message,0,__func__,0)
1256 #define MkDbgL_1(message) MkDbgL(NULL,message,0,__func__,0)
1257 #define MkDbgLogC(...) MkDbgLogC_RT(MK_RT_CALL __VA_ARGS__)
1258 #define MkDbgLogC_1(obj) MkDbgLogC(obj,__func__)
1259 #define MkDbgO(...) MkDbgO_RT(MK_RT_CALL __VA_ARGS__)
1260 #define MkDbgO_1(obj) MkDbgO(obj,__func__)
1261 #define MkDbgSTACK(...) MkDbgSTACK_RT(MK_RT_CALL __VA_ARGS__)
1262 #define MkDbgSTACK_3(fmtobj,skip,num) MkDbgSTACK(fmtobj,skip,num,__func__)
1263 #define MkDbgSTACK_2(fmtobj,skip) MkDbgSTACK(fmtobj,skip,-1,__func__)
1264 #define MkDbgSTACK_1(fmtobj) MkDbgSTACK(fmtobj,0,-1,__func__)
1265
1266
1267 // doc-key: MkObjectC,MkObjectC-Dbg,sm_
1268 #define MkDbgM(...) MkDbgM_RT(MK_RT_CALL __VA_ARGS__)
1269 #define MkDbgM_3(message,debug,callfunc) MkDbgM(message,debug,callfunc,0)
1270 #define MkDbgM_2(message,debug) MkDbgM(message,debug,__func__,0)
1271 #define MkDbgM_1(message) MkDbgM(message,0,__func__,0)
1272
1275
1280
1281 // doc-key: MkObjectC,MkObjectC-Log,om_
1282 #define MkLogC(...) MkLogC_RT(MK_RT_CALL __VA_ARGS__)
1283 #define MkLogC_3(fmtobj,message,debug) MkLogC(fmtobj,message,debug,__func__)
1284 #define MkLogC_2(fmtobj,message) MkLogC(fmtobj,message,0,__func__)
1285 #define MkLogC_1(message) MkLogC(NULL,message,0,__func__)
1286 #define MkLogHEX(...) MkLogHEX_RT(MK_RT_CALL __VA_ARGS__)
1287 #define MkLogHEX_2(fmtobj,data) MkLogHEX(fmtobj,__func__,data)
1288 #define MkLogHEX_1(data) MkLogHEX(NULL,__func__,data)
1289 #define MkLogV(...) MkLogV_RT(MK_RT_CALL __VA_ARGS__)
1290 #define MkLogV_3(fmtobj,callfunc,printfmt,...) MkLogV(fmtobj,callfunc,0,printfmt,__VA_ARGS__)
1291 #define MkLogV_2(fmtobj,printfmt,...) MkLogV(fmtobj,__func__,0,printfmt,__VA_ARGS__)
1292 #define MkLogV_1(printfmt,...) MkLogV(NULL,__func__,0,printfmt,__VA_ARGS__)
1293 #define MkLogVL(...) MkLogVL_RT(MK_RT_CALL __VA_ARGS__)
1294 #define MkLogVL_4(fmtobj,callfunc,printfmt,var_list) MkLogVL(fmtobj,callfunc,0,printfmt,var_list)
1295 #define MkLogVL_3(fmtobj,printfmt,var_list) MkLogVL(fmtobj,__func__,0,printfmt,var_list)
1296 #define MkLogVL_2(printfmt,var_list) MkLogVL(NULL,__func__,0,printfmt,var_list)
1297 #define MkObjectLog(...) MkObjectLog_RT(MK_RT_CALL __VA_ARGS__)
1298 #define MkObjectLog_4(obj,fmtobj,debug,callfunc) MkObjectLog(obj,fmtobj,debug,callfunc,0)
1299 #define MkObjectLog_3(obj,fmtobj,debug) MkObjectLog(obj,fmtobj,debug,__func__,0)
1300 #define MkObjectLog_2(obj,fmtobj) MkObjectLog(obj,fmtobj,0,__func__,0)
1301 #define MkObjectLog_1(obj) MkObjectLog(obj,NULL,0,__func__,0)
1302 #define MkObjectLogDetail(...) MkObjectLogDetail_RT(MK_RT_CALL __VA_ARGS__)
1303 #define MkObjectLogDetail_4(obj,fmtobj,debug,callfunc) MkObjectLogDetail(obj,fmtobj,debug,callfunc,0)
1304 #define MkObjectLogDetail_3(obj,fmtobj,debug) MkObjectLogDetail(obj,fmtobj,debug,__func__,0)
1305 #define MkObjectLogDetail_2(obj,fmtobj) MkObjectLogDetail(obj,fmtobj,0,__func__,0)
1306 #define MkObjectLogDetail_1(obj) MkObjectLogDetail(obj,NULL,0,__func__,0)
1307 #define MkObjectLogSimple(...) MkObjectLogSimple_RT(MK_RT_CALL __VA_ARGS__)
1308 #define MkObjectLogSimple_4(obj,fmtobj,debug,callfunc) MkObjectLogSimple(obj,fmtobj,debug,callfunc,0)
1309 #define MkObjectLogSimple_3(obj,fmtobj,debug) MkObjectLogSimple(obj,fmtobj,debug,__func__,0)
1310 #define MkObjectLogSimple_2(obj,fmtobj) MkObjectLogSimple(obj,fmtobj,0,__func__,0)
1311 #define MkObjectLogSimple_1(obj) MkObjectLogSimple(obj,NULL,0,__func__,0)
1312
1315
1320
1321 // doc-key: MkObjectC,MkObjectC-Misc,oc_
1322 #define MkObjectErrorCatch(...) MkObjectErrorCatch_RT(MK_RT_CALL __VA_ARGS__)
1323 #define MkObjectErrorCatch_2(obj,exception) MkObjectErrorCatch(obj,exception,__func__)
1324 #define MkObjectErrorCatch_1(obj) MkObjectErrorCatch(obj,NULL,__func__)
1325 #define MkObjectToError(...) MkObjectToError_RT(MK_RT_CALL __VA_ARGS__)
1326
1327
1328 // doc-key: MkObjectC,MkObjectC-Misc,om_
1329 #define MkObjectToName(...) MkObjectToName_RT(MK_RT_CALL __VA_ARGS__)
1330 #define MkObjectToNameOfClass(...) MkObjectToNameOfClass_RT(MK_RT_CALL __VA_ARGS__)
1331 #define MkObjectToNameOfType(...) MkObjectToNameOfType_RT(MK_RT_CALL __VA_ARGS__)
1332 #define MkObjectToString(...) MkObjectToString_RT(MK_RT_CALL __VA_ARGS__)
1333
1336
1341
1342 // doc-key: MkObjectC,MkObjectC-Obj,oc_
1343 #define MkObjCopy(...) MkObjCopy_RT(MK_RT_CALL __VA_ARGS__)
1344 #define MkRefDecrWithoutSelf(...) MkRefDecrWithoutSelf_RT(MK_RT_CALL __VA_ARGS__)
1345
1346
1347 // doc-key: MkObjectC,MkObjectC-Obj,sc_
1348 #define MkTypeAlloc_1(typ) MkTypeAlloc(MK_RT_CALL,typ)
1349
1350
1351 // doc-key: MkObjectC,MkObjectC-Obj,om_
1352 #define MkObjReset(...) MkObjReset_RT(MK_RT_CALL __VA_ARGS__)
1353 #define MkSelfNew(...) MkSelfNew_RT(MK_RT_CALL __VA_ARGS__)
1354 #define MkSelfNew_E(...) MkErrorCheck(MkSelfNew(__VA_ARGS__))
1355 #define MkSelfNew_C(...) if (MkErrorCheckI(MkSelfNew(__VA_ARGS__)))
1356
1357
1358 // doc-key: MkObjectC,MkObjectC-Obj,sm_
1359 #define MkRefCidN() MkRefCidN_RT(MK_RT_CALL_ONLY)
1360 #define MkRefDecr(...) MkRefDecr_RT(MK_RT_CALL __VA_ARGS__)
1361 #define MkSelfCreate(...) MkSelfCreate_RT(MK_RT_CALL __VA_ARGS__)
1362 #define MkSelfDelete(...) MkSelfDelete_RT(MK_RT_CALL __VA_ARGS__)
1363 #define MkSelfDeleteForce(...) MkSelfDeleteForce_RT(MK_RT_CALL __VA_ARGS__)
1364 #define MkSelfUnlink(...) MkSelfUnlink_RT(MK_RT_CALL __VA_ARGS__)
1365 #define MkTypeDelete(...) MkTypeDelete_RT(MK_RT_CALL __VA_ARGS__)
1366 #define MkTypeDup2(...) MkTypeDup2_RT(MK_RT_CALL __VA_ARGS__)
1367 #define MkTypeLog(...) MkTypeLog_RT(MK_RT_CALL __VA_ARGS__)
1368 #define MkTypeLog_4(typ,fmtobj,debug,callfunc) MkTypeLog(typ,fmtobj,debug,callfunc,0)
1369 #define MkTypeLog_3(typ,fmtobj,debug) MkTypeLog(typ,fmtobj,debug,__func__,0)
1370 #define MkTypeLog_2(typ,fmtobj) MkTypeLog(typ,fmtobj,0,__func__,0)
1371 #define MkTypeLog_1(typ) MkTypeLog(typ,NULL,0,__func__,0)
1372 #define MkTypeResolve_1(typ) MkTypeResolve(MK_RT_CALL,typ)
1373
1376
1381
1382 // doc-key: MkObjectC,MkObjectC-Sys,om_
1383 #define MkSysKill_E(...) MkErrorCheck(MkSysKill(__VA_ARGS__))
1384 #define MkSysKill_C(...) if (MkErrorCheckI(MkSysKill(__VA_ARGS__)))
1385 #define MkSysPrintTrace(...) MkSysPrintTrace_RT(MK_RT_CALL __VA_ARGS__)
1386 #define MkSysPrintTrace_5(fmtobj,skip,num,debug,callfunc) MkSysPrintTrace(fmtobj,skip,num,debug,callfunc,0)
1387 #define MkSysPrintTrace_4(fmtobj,skip,num,debug) MkSysPrintTrace(fmtobj,skip,num,debug,__func__,0)
1388 #define MkSysPrintTrace_3(fmtobj,skip,num) MkSysPrintTrace(fmtobj,skip,num,0,__func__,0)
1389 #define MkSysPrintTrace_2(fmtobj,skip) MkSysPrintTrace(fmtobj,skip,-1,0,__func__,0)
1390 #define MkSysPrintTrace_1(fmtobj) MkSysPrintTrace(fmtobj,0,-1,0,__func__,0)
1391 #define MkSysPrintTrace_0() MkSysPrintTrace(NULL,0,-1,0,__func__,0)
1392 #define MkSysSleep_E(...) MkErrorCheck(MkSysSleep(__VA_ARGS__))
1393 #define MkSysSleep_C(...) if (MkErrorCheckI(MkSysSleep(__VA_ARGS__)))
1394 #define MkSysStrNCpy_E(...) MkErrorCheck(MkSysStrNCpy(__VA_ARGS__))
1395 #define MkSysStrNCpy_C(...) if (MkErrorCheckI(MkSysStrNCpy(__VA_ARGS__)))
1396 #define MkSysUSleep_E(...) MkErrorCheck(MkSysUSleep(__VA_ARGS__))
1397 #define MkSysUSleep_C(...) if (MkErrorCheckI(MkSysUSleep(__VA_ARGS__)))
1398 #define MkSysWait_E(...) MkErrorCheck(MkSysWait(__VA_ARGS__))
1399 #define MkSysWait_C(...) if (MkErrorCheckI(MkSysWait(__VA_ARGS__)))
1400
1401
1402 // doc-key: MkObjectC,MkObjectC-Sys,omo
1403 #define MkSysGetPid_E(...) MkErrorCheck(MkSysGetPid(__VA_ARGS__))
1404 #define MkSysGetPid_C(...) if (MkErrorCheckI(MkSysGetPid(__VA_ARGS__)))
1405 #define MkSysGetPid_e(...) MK_EMBEDDED(MK_INT,MkSysGetPid,__VA_ARGS__)
1406 #define MkSysGetTimeOfDay_E(...) MkErrorCheck(MkSysGetTimeOfDay(__VA_ARGS__))
1407 #define MkSysGetTimeOfDay_C(...) if (MkErrorCheckI(MkSysGetTimeOfDay(__VA_ARGS__)))
1408
1409
1410 // doc-key: MkObjectC,MkObjectC-Sys,sm_
1411 #define MkSysBasename(...) MkSysBasename_RT(MK_RT_CALL __VA_ARGS__)
1412 #define MkSysDirname(...) MkSysDirname_RT(MK_RT_CALL __VA_ARGS__)
1413 #define MkSysPrintF(...) MkSysPrintF_RT(MK_RT_CALL __VA_ARGS__)
1414
1417
1422
1423 // doc-key: MkObjectC,MkObjectC-TOR,sCc
1424 #define MkObjCreate(...) MkObjCreate_RT(MK_RT_CALL __VA_ARGS__)
1425 #define MkObjCreate_2(nat,lnk) MkObjCreate(NULL,nat,lnk)
1426
1427
1428 // doc-key: MkObjectC,MkObjectC-TOR,od_
1429 #define MkObjectDispose(x) MkObjectDeleteToNull(MkObjectDispose_RT,x)
1430
1431
1432 // doc-key: MkObjectC,MkObjectC-TOR,oD_
1433 #define MkObjectDelete(x) MkObjectDeleteToNull(MkObjectDelete_RT,x)
1434
1435
1436 // doc-key: MkObjectC,MkObjectC-TOR,oc_
1437 #define MkObjDup(...) MkObjDup_RT(MK_RT_CALL __VA_ARGS__)
1438 #define MkObjDup2(...) MkObjDup2_RT(MK_RT_CALL __VA_ARGS__)
1439 #define MkObjMerge(...) MkObjMerge_RT(MK_RT_CALL __VA_ARGS__)
1440
1443// END-MkObjectC - created by 'c_Overload.tcl -i NHI1_HOME/theKernel/libmkkernel/.libmkkernel.meta' - DO NOT change
1444
1446
1447// vim: nowrap
1448
1449// BEGIN-MkRuntimeC - created by 'c_Overload.tcl -i NHI1_HOME/theKernel/libmkkernel/.libmkkernel.meta' - DO NOT change
1450
1455
1456 // doc-key: MkRuntimeC,MkRuntimeC-Config,sm_
1457 #define MkRuntimeDebug_4(fmtobj,debug,callfunc,lvl) MkRuntimeDebug(MK_RT_PTR,fmtobj,debug,callfunc,lvl)
1458 #define MkRuntimeDebug_3(fmtobj,debug,callfunc) MkRuntimeDebug(MK_RT_PTR,fmtobj,debug,callfunc,0)
1459 #define MkRuntimeDebug_2(fmtobj,debug) MkRuntimeDebug(MK_RT_PTR,fmtobj,debug,__func__,0)
1460 #define MkRuntimeDebug_1(fmtobj) MkRuntimeDebug(MK_RT_PTR,fmtobj,0,__func__,0)
1461 #define MkRuntimeDebug_0() MkRuntimeDebug(MK_RT_PTR,NULL,0,__func__,0)
1462 #define MkRuntimeSetLogfile(...) MkRuntimeSetLogfile_RT(MK_RT_CALL __VA_ARGS__)
1463 #define MkRuntimeSetLogfile_E(...) MkErrorCheck(MkRuntimeSetLogfile(__VA_ARGS__))
1464 #define MkRuntimeSetLogfile_C(...) if (MkErrorCheckI(MkRuntimeSetLogfile(__VA_ARGS__)))
1465
1468// END-MkRuntimeC - created by 'c_Overload.tcl -i NHI1_HOME/theKernel/libmkkernel/.libmkkernel.meta' - DO NOT change
1469
1470// BEGIN-MkExtensionC - created by 'c_Overload.tcl -i NHI1_HOME/theKernel/libmkkernel/.libmkkernel.meta' - DO NOT change
1471
1476
1477 // doc-key: MkExtensionC,MkExtensionC,oc_
1478 #define MkExtensionAdd(...) MkExtensionAdd_RT(MK_RT_CALL __VA_ARGS__)
1479 #define MkExtensionDel(...) MkExtensionDel_RT(MK_RT_CALL __VA_ARGS__)
1480
1481
1482 // doc-key: MkExtensionC,MkExtensionC,om_
1483 #define MkExtensionDeleteAll(...) MkExtensionDeleteAll_RT(MK_RT_CALL __VA_ARGS__)
1484
1487// END-MkExtensionC - created by 'c_Overload.tcl -i NHI1_HOME/theKernel/libmkkernel/.libmkkernel.meta' - DO NOT change