theKernel 10.0
Loading...
Searching...
No Matches
libmkkernel.cs
Go to the documentation of this file.
1
9/* LABEL-NO */
10
11using System;
12using System.Runtime.InteropServices;
13using System.Threading;
14using Mk = csmkkernel.MkKernel;
15
16namespace csmkkernel {
17
18#if MKKERNEL
19
20 // BEGIN-enum - created by 'cs_MqS.tcl -i NHI1_HOME/theKernel/c/gen/c_mkkernel.meta' - DO NOT change
21
23 internal enum MkBoolE {
24 NO = 0,
25 YES = 1,
26 }
27
29 public enum MkErrorE {
30 OK = 0,
31 CONTINUE = 1,
32 ERROR = 2,
33 }
34
36 public enum MkIdSE {
37 UNUSED = 0,
38 PROCESS = 1,
39 THREAD = 2,
40 }
41
43 internal enum MkNativeIsE {
44 INITIAL = 0,
45 STRING = 'S',
46 LITTLE = 'L',
47 BIG = 'B',
48 }
49
51 public enum MkTimeoutE {
52 INIT = 900,
53 LONG = ( 900/5 ),
54 NORMAL = ( 900/10 < 1 ? 1 : 900/10 ),
55 SHORT = ( 900/45 < 1 ? 1 : 900/45 ),
56 SOCKET = ( 900/90 < 1 ? 1 : 900/90 ),
57 VERYSHORT = ( 900/180 < 1 ? 1 : 900/180 ),
58 DEFAULT = -1,
59 USER = -2,
60 MAX = -3,
61 }
62
64 public enum MkTypeE {
65 I8T = ( ( 1 << 4 ) | ( 1<<0 ) ),
66 BOLT = ( ( 2 << 4 ) | ( 1<<0 ) ),
67 I16T = ( ( 3 << 4 ) | ( 1<<1 ) ),
68 I32T = ( ( 4 << 4 ) | ( 1<<2 ) ),
69 FLTT = ( ( 5 << 4 ) | ( 1<<2 ) ),
70 I64T = ( ( 6 << 4 ) | ( 1<<3 ) ),
71 DBLT = ( ( 7 << 4 ) | ( 1<<3 ) ),
72 BINT = ( ( 8 << 4 ) ),
73 STRT = ( ( 9 << 4 ) ),
74 LSTT = ( ( 10 << 4 ) ),
75 }
76
77 // END-enum - created by 'cs_MqS.tcl -i NHI1_HOME/theKernel/c/gen/c_mkkernel.meta' - DO NOT change
78
79#endif // MKKERNEL
80
81 // BEGIN-enum-public - created by 'cs_MqS.tcl -i NHI1_HOME/theKernel/c/gen/c_mkkernel.meta' - DO NOT change
82
84 internal enum MkCsTypeLookupE {
85 OBJ = 0,
86 BUF = 1,
87 BUS = 2,
88 BFL = 3,
89 LFL = 4,
90 ERR = 5,
91 RT = 6,
92 }
93
94 // END-enum-public - created by 'cs_MqS.tcl -i NHI1_HOME/theKernel/c/gen/c_mkkernel.meta' - DO NOT change
95
96 [StructLayout(LayoutKind.Sequential, Pack=0)]
97 public struct MkIntPtr_A {
98 public int size;
99 public IntPtr data;
100 };
101
102 internal static class MkSetupC {
103 public const CallingConvention CC = CallingConvention.Cdecl;
104 public const CharSet CS = CharSet.Ansi;
105 public const string DLL = "csmkkernel";
106 }
107
108#if MKKERNEL
109
110 // BEGIN-fupu - created by 'cs_MqS.tcl -i NHI1_HOME/theKernel/c/gen/c_mkkernel.meta' - DO NOT change
111
112 // END-fupu - created by 'cs_MqS.tcl -i NHI1_HOME/theKernel/c/gen/c_mkkernel.meta' - DO NOT change
113
114#endif // MKKERNEL
115
116 // BEGIN-fupu-public - created by 'cs_MqS.tcl -i NHI1_HOME/theKernel/c/gen/c_mkkernel.meta' - DO NOT change
117
118 [UnmanagedFunctionPointer(CallingConvention.Cdecl)]
119 public delegate void MkMarkF (IntPtr mkrt, IntPtr data);
120
121 [UnmanagedFunctionPointer(CallingConvention.Cdecl)]
122 public delegate MkErrorE MkObjectDeleteCallF (IntPtr mkrt, IntPtr obj, IntPtr typeName, Int32 typeHdl, Int32 objHdl, IntPtr __data__);
123
124 [UnmanagedFunctionPointer(CallingConvention.Cdecl)]
125 public delegate void MkObjectDeleteFreeF (IntPtr mkrt, ref IntPtr dataP);
126
127 [UnmanagedFunctionPointer(CallingConvention.Cdecl)]
128 public delegate IntPtr MkSelfCreateF (IntPtr mkrt, IntPtr obj, IntPtr env);
129
130 [UnmanagedFunctionPointer(CallingConvention.Cdecl)]
131 public delegate void MkSelfDeleteF (IntPtr mkrt, IntPtr self, IntPtr env);
132
133 [UnmanagedFunctionPointer(CallingConvention.Cdecl)]
134 public delegate void MkSelfUnlinkF (IntPtr mkrt, IntPtr self, IntPtr env);
135
136 // END-fupu-public - created by 'cs_MqS.tcl -i NHI1_HOME/theKernel/c/gen/c_mkkernel.meta' - DO NOT change
137
138 public static class Mk {
139
140 [StructLayout(LayoutKind.Sequential)]
141 public struct MkBinaryR
142 {
143 public long size;
144 public IntPtr data;
145 }
146
147 [StructLayout(LayoutKind.Sequential)]
148 public struct MkStringR
149 {
150 public int len;
151 public IntPtr ptr;
152 }
153
156 [StructLayout(LayoutKind.Sequential)]
157 struct MkObjectProtectS {
168 bool isLocal;
169
170 IntPtr prev;
171 IntPtr next;
172 };
173
175 [StructLayout(LayoutKind.Sequential)]
176 struct MkObjectS {
178 int signature;
180 int netHdl;
182 int refCount;
184 public IntPtr self;
186 IntPtr type;
190 IntPtr env;
191
193 //bool onDelete;
194
198 bool deleteCallbackCalled;
199
203 bool selfCreated;
204
213 Int32 selfRefCount;
214
216 IntPtr objRt;
217
219 IntPtr objRtExt;
220
223 MkObjectProtectS obj_protect;
224
225 // attention !!
226 // reference : theKernel/c/kernel_mk.h
227 };
228
229 public unsafe static IntPtr CsGetSelfPtr (IntPtr hdl) {
230 if (hdl == IntPtr.Zero) {
231 return IntPtr.Zero;
232 } else {
233 var obj = (Mk.MkObjectS*) hdl.ToPointer();
234 return (*obj).self;
235 }
236 }
237
238#if !META_STRONG_REF
239 public unsafe static void CsMakePersistent (IntPtr hdl) {
240 var obj = (Mk.MkObjectS*) hdl.ToPointer();
241 IntPtr old = (*obj).self;
242 if ( old == IntPtr.Zero ) return;
243 var gcHdl = GCHandle.FromIntPtr(old);
244 (*obj).self = (IntPtr) GCHandle.Alloc(gcHdl.Target);
245 if ( old != IntPtr.Zero ) gcHdl.Free();
246 }
247#endif
248
249 [StructLayout(LayoutKind.Sequential)]
250 struct MkErrorS {
251 MkObjectS obj;
252 public MkErrorE code;
253 /* cut off */
254 }
255
256 [StructLayout(LayoutKind.Sequential)]
257 struct MkRuntimeS {
258 MkObjectS obj;
259 public MkErrorS error_mk;
260 /* cut off */
261 }
262
263 public unsafe static MkErrorE CsRuntimeErrorGetCode (IntPtr mkrt) {
264 //return Mk.MkRuntimeErrorGetCode(mkrt);
265 var mkrtPtr = (MkRuntimeS*) mkrt.ToPointer();
266 return (*mkrtPtr).error_mk.code;
267 }
268
269 // BEGIN-func - created by 'cs_MqS.tcl -i NHI1_HOME/theKernel/c/gen/c_mkkernel.meta' - DO NOT change
270
271 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkBflP")]
272 internal static extern IntPtr MkBfl (IntPtr mng);
273
274 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkBflCheckP")]
275 internal static extern bool MkBflCheck (IntPtr mng);
276
277 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkBflCheckOP")]
278 internal static extern bool MkBflCheckO (IntPtr obj);
279
280 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkBinaryCreateP")]
281 public static extern Mk.MkBinaryR MkBinaryCreate (long size, IntPtr data);
282
283 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkBinaryCreateSliceP")]
284 internal static extern Mk.MkBinaryR MkBinaryCreateSlice (Mk.MkBinaryR bin, long start, long wide);
285
286 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkBinaryDupP")]
287 internal static extern Mk.MkBinaryR MkBinaryDup (IntPtr mkrt, Mk.MkBinaryR bin);
288
289 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkBinaryGetDataP")]
290 internal static extern IntPtr MkBinaryGetData (Mk.MkBinaryR bin);
291
292 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkBinaryGetSizeP")]
293 internal static extern long MkBinaryGetSize (Mk.MkBinaryR bin);
294
295 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkBinaryIsNullP")]
296 internal static extern bool MkBinaryIsNull (Mk.MkBinaryR bin);
297
298 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkBinaryLogP")]
299 internal static extern void MkBinaryLog (IntPtr mkrt, Mk.MkBinaryR bin);
300
301 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkBufP")]
302 internal static extern IntPtr MkBuf (IntPtr mng);
303
304 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkBufCheckP")]
305 internal static extern bool MkBufCheck (IntPtr mng);
306
307 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkBufCheckOP")]
308 internal static extern bool MkBufCheckO (IntPtr obj);
309
310 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkBufferAppendC_RT")]
311 internal static extern IntPtr MkBufferAppendC (IntPtr mkrt, IntPtr buf, IntPtr val);
312
313 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkBufferAppendStringR_RT")]
314 internal static extern IntPtr MkBufferAppendStringR (IntPtr mkrt, IntPtr buf, Mk.MkStringR val);
315
316 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkBufferCastTo_RT")]
317 internal static extern MkErrorE MkBufferCastTo (IntPtr mkrt, IntPtr buf, MkTypeE typ);
318
319 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkBufferCmp_RT")]
320 internal static extern Int32 MkBufferCmp (IntPtr mkrt, IntPtr buf1, IntPtr buf2);
321
322 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkBufferCopy_RT")]
323 internal static extern IntPtr MkBufferCopy (IntPtr mkrt, IntPtr buf, IntPtr srce);
324
325 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkBufferCreate_RT")]
326 internal static extern IntPtr MkBufferCreate (IntPtr mkrt, IntPtr type, Int32 size);
327
328 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkBufferCreate1024_RT")]
329 internal static extern IntPtr MkBufferCreate1024 (IntPtr mkrt, Int32 size);
330
331 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkBufferCreate256_RT")]
332 internal static extern IntPtr MkBufferCreate256 (IntPtr mkrt, Int32 size);
333
334 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkBufferCreate64_RT")]
335 internal static extern IntPtr MkBufferCreate64 (IntPtr mkrt, Int32 size);
336
337 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkBufferCreateBIN_RT")]
338 internal static extern IntPtr MkBufferCreateBIN (IntPtr mkrt, Mk.MkBinaryR val);
339
340 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkBufferCreateBOL_RT")]
341 internal static extern IntPtr MkBufferCreateBOL (IntPtr mkrt, Byte val);
342
343 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkBufferCreateBUF_RT")]
344 internal static extern IntPtr MkBufferCreateBUF (IntPtr mkrt, IntPtr val);
345
346 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkBufferCreateDBL_RT")]
347 internal static extern IntPtr MkBufferCreateDBL (IntPtr mkrt, Double val);
348
349 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkBufferCreateFLT_RT")]
350 internal static extern IntPtr MkBufferCreateFLT (IntPtr mkrt, Single val);
351
352 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkBufferCreateI16_RT")]
353 internal static extern IntPtr MkBufferCreateI16 (IntPtr mkrt, Int16 val);
354
355 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkBufferCreateI32_RT")]
356 internal static extern IntPtr MkBufferCreateI32 (IntPtr mkrt, Int32 val);
357
358 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkBufferCreateI64_RT")]
359 internal static extern IntPtr MkBufferCreateI64 (IntPtr mkrt, Int64 val);
360
361 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkBufferCreateI8_RT")]
362 internal static extern IntPtr MkBufferCreateI8 (IntPtr mkrt, Byte val);
363
364 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkBufferCreateSTR_RT")]
365 internal static extern IntPtr MkBufferCreateSTR (IntPtr mkrt, IntPtr val);
366
367 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkBufferCreateTLS_RT")]
368 internal static extern IntPtr MkBufferCreateTLS (IntPtr mkrt, IntPtr tlsName, bool resetB);
369
370 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkBufferDelete_RT")]
371 internal static extern void MkBufferDelete (IntPtr mkrt, IntPtr buf);
372
373 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkBufferDup_RT")]
374 internal static extern IntPtr MkBufferDup (IntPtr mkrt, IntPtr buf);
375
376 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkBufferGetBFL_RT")]
377 internal static extern MkErrorE MkBufferGetBFL (IntPtr mkrt, IntPtr buf, ref IntPtr val_inout);
378
379 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkBufferGetBIN_RT")]
380 internal static extern MkErrorE MkBufferGetBIN (IntPtr mkrt, IntPtr buf, out Mk.MkBinaryR val_out);
381
382 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkBufferGetBOL_RT")]
383 internal static extern MkErrorE MkBufferGetBOL (IntPtr mkrt, IntPtr buf, out Byte val_out);
384
385 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkBufferGetBUF_RT")]
386 internal static extern MkErrorE MkBufferGetBUF (IntPtr mkrt, IntPtr buf, out IntPtr val_out);
387
388 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkBufferGetDBL_RT")]
389 internal static extern MkErrorE MkBufferGetDBL (IntPtr mkrt, IntPtr buf, out Double val_out);
390
391 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkBufferGetFLT_RT")]
392 internal static extern MkErrorE MkBufferGetFLT (IntPtr mkrt, IntPtr buf, out Single val_out);
393
394 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkBufferGetI16_RT")]
395 internal static extern MkErrorE MkBufferGetI16 (IntPtr mkrt, IntPtr buf, out Int16 val_out);
396
397 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkBufferGetI32_RT")]
398 internal static extern MkErrorE MkBufferGetI32 (IntPtr mkrt, IntPtr buf, out Int32 val_out);
399
400 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkBufferGetI64_RT")]
401 internal static extern MkErrorE MkBufferGetI64 (IntPtr mkrt, IntPtr buf, out Int64 val_out);
402
403 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkBufferGetI8_RT")]
404 internal static extern MkErrorE MkBufferGetI8 (IntPtr mkrt, IntPtr buf, out Byte val_out);
405
406 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkBufferGetNullP")]
407 internal static extern IntPtr MkBufferGetNull ();
408
409 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkBufferGetSTR_RT")]
410 internal static extern MkErrorE MkBufferGetSTR (IntPtr mkrt, IntPtr buf, out IntPtr val_out);
411
412 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkBufferGetStringR_RT")]
413 internal static extern MkErrorE MkBufferGetStringR (IntPtr mkrt, IntPtr buf, out Mk.MkStringR val_out);
414
415 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkBufferGetType1_RT")]
416 internal static extern Char MkBufferGetType1 (IntPtr mkrt, IntPtr buf);
417
418 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkBufferGetType2_RT")]
419 internal static extern MkTypeE MkBufferGetType2 (IntPtr mkrt, IntPtr buf);
420
421 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkBufferGetType3_RT")]
422 internal static extern IntPtr MkBufferGetType3 (IntPtr mkrt, IntPtr buf);
423
424 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkBufferHandleGetP")]
425 internal static extern Int32 MkBufferHandleGet (IntPtr mkrt, IntPtr buf);
426
427 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkBufferHandleResolveP")]
428 internal static extern IntPtr MkBufferHandleResolve (IntPtr mkrt, Int32 netHdl);
429
430 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkBufferInstancesP")]
431 internal static extern IntPtr MkBufferInstances (IntPtr mkrt);
432
433 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkBufferIsLocal_RT")]
434 internal static extern bool MkBufferIsLocal (IntPtr mkrt, IntPtr buf);
435
436 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkBufferListAppendBIN_RT")]
437 internal static extern void MkBufferListAppendBIN (IntPtr mkrt, IntPtr bfl, Mk.MkBinaryR val);
438
439 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkBufferListAppendBOL_RT")]
440 internal static extern void MkBufferListAppendBOL (IntPtr mkrt, IntPtr bfl, Byte val);
441
442 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkBufferListAppendBUF_RT")]
443 internal static extern void MkBufferListAppendBUF (IntPtr mkrt, IntPtr bfl, IntPtr val);
444
445 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkBufferListAppendDBL_RT")]
446 internal static extern void MkBufferListAppendDBL (IntPtr mkrt, IntPtr bfl, Double val);
447
448 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkBufferListAppendFLT_RT")]
449 internal static extern void MkBufferListAppendFLT (IntPtr mkrt, IntPtr bfl, Single val);
450
451 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkBufferListAppendG_RT")]
452 internal static extern void MkBufferListAppendG (IntPtr mkrt, IntPtr bfl, long val);
453
454 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkBufferListAppendI16_RT")]
455 internal static extern void MkBufferListAppendI16 (IntPtr mkrt, IntPtr bfl, Int16 val);
456
457 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkBufferListAppendI32_RT")]
458 internal static extern void MkBufferListAppendI32 (IntPtr mkrt, IntPtr bfl, Int32 val);
459
460 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkBufferListAppendI64_RT")]
461 internal static extern void MkBufferListAppendI64 (IntPtr mkrt, IntPtr bfl, Int64 val);
462
463 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkBufferListAppendI8_RT")]
464 internal static extern void MkBufferListAppendI8 (IntPtr mkrt, IntPtr bfl, Byte val);
465
466 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkBufferListAppendLA_RT")]
467 internal static extern IntPtr MkBufferListAppendLA (IntPtr mkrt, IntPtr bfl, IntPtr args);
468
469 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkBufferListAppendLP_RT")]
470 internal static extern IntPtr MkBufferListAppendLP (IntPtr mkrt, IntPtr bfl, IntPtr addBufL, Int32 position);
471
472 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkBufferListAppendSTR_RT")]
473 public static extern void MkBufferListAppendSTR (IntPtr mkrt, IntPtr bfl, IntPtr val);
474
475 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkBufferListAppendStringR_RT")]
476 internal static extern void MkBufferListAppendStringR (IntPtr mkrt, IntPtr bfl, Mk.MkStringR val);
477
478 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkBufferListAppendUP_RT")]
479 internal static extern void MkBufferListAppendUP (IntPtr mkrt, IntPtr bfl, IntPtr addBuf, Int32 position);
480
481 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkBufferListCheckOption_RT")]
482 internal static extern bool MkBufferListCheckOption (IntPtr mkrt, IntPtr bfl, IntPtr opt, bool onlyFirst);
483
484 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkBufferListCheckOptionBOL_RT")]
485 internal static extern MkErrorE MkBufferListCheckOptionBOL (IntPtr mkrt, IntPtr bfl, IntPtr opt, bool defval, bool onlyFirst, out bool val_out);
486
487 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkBufferListCheckOptionBUF_RT")]
488 internal static extern MkErrorE MkBufferListCheckOptionBUF (IntPtr mkrt, IntPtr bfl, IntPtr opt, IntPtr defval, bool onlyFirst, out IntPtr val_out);
489
490 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkBufferListCheckOptionDBL_RT")]
491 internal static extern MkErrorE MkBufferListCheckOptionDBL (IntPtr mkrt, IntPtr bfl, IntPtr opt, Double defval, bool onlyFirst, out Double val_out);
492
493 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkBufferListCheckOptionFLT_RT")]
494 internal static extern MkErrorE MkBufferListCheckOptionFLT (IntPtr mkrt, IntPtr bfl, IntPtr opt, Single defval, bool onlyFirst, out Single val_out);
495
496 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkBufferListCheckOptionI16_RT")]
497 internal static extern MkErrorE MkBufferListCheckOptionI16 (IntPtr mkrt, IntPtr bfl, IntPtr opt, Int16 defval, bool onlyFirst, out Int16 val_out);
498
499 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkBufferListCheckOptionI32_RT")]
500 internal static extern MkErrorE MkBufferListCheckOptionI32 (IntPtr mkrt, IntPtr bfl, IntPtr opt, Int32 defval, bool onlyFirst, out Int32 val_out);
501
502 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkBufferListCheckOptionI64_RT")]
503 internal static extern MkErrorE MkBufferListCheckOptionI64 (IntPtr mkrt, IntPtr bfl, IntPtr opt, Int64 defval, bool onlyFirst, out Int64 val_out);
504
505 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkBufferListCheckOptionI8_RT")]
506 internal static extern MkErrorE MkBufferListCheckOptionI8 (IntPtr mkrt, IntPtr bfl, IntPtr opt, Byte defval, bool onlyFirst, out Byte val_out);
507
508 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkBufferListCheckOptionSTR_RT")]
509 internal static extern MkErrorE MkBufferListCheckOptionSTR (IntPtr mkrt, IntPtr bfl, IntPtr opt, IntPtr defval, bool onlyFirst, out IntPtr val_out);
510
511 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkBufferListCmp_RT")]
512 internal static extern Int32 MkBufferListCmp (IntPtr mkrt, IntPtr bfl, IntPtr bfl2);
513
514 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkBufferListCopy_RT")]
515 internal static extern void MkBufferListCopy (IntPtr mkrt, IntPtr bfl, IntPtr src);
516
517 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkBufferListCreate_RT")]
518 internal static extern IntPtr MkBufferListCreate (IntPtr mkrt, Int32 size);
519
520 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkBufferListCreateLA_RT")]
521 internal static extern IntPtr MkBufferListCreateLA (IntPtr mkrt, IntPtr args);
522
523 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkBufferListCreateTLS_RT")]
524 internal static extern IntPtr MkBufferListCreateTLS (IntPtr mkrt, IntPtr tlsName, bool resetB);
525
526 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkBufferListDelete_RT")]
527 internal static extern void MkBufferListDelete (IntPtr mkrt, IntPtr bfl);
528
529 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkBufferListDup_RT")]
530 internal static extern IntPtr MkBufferListDup (IntPtr mkrt, IntPtr bfl);
531
532 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkBufferListFileGlob_RT")]
533 internal static extern IntPtr MkBufferListFileGlob (IntPtr mkrt, IntPtr pattern_match);
534
535 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkBufferListGetNullP")]
536 internal static extern IntPtr MkBufferListGetNull ();
537
538 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkBufferListHandleGetP")]
539 internal static extern Int32 MkBufferListHandleGet (IntPtr mkrt, IntPtr bfl);
540
541 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkBufferListHandleResolveP")]
542 internal static extern IntPtr MkBufferListHandleResolve (IntPtr mkrt, Int32 netHdl);
543
544 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkBufferListIndexDelete_RT")]
545 internal static extern MkErrorE MkBufferListIndexDelete (IntPtr mkrt, IntPtr bfl, Int32 index, Int32 numitems, bool doDelete);
546
547 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkBufferListIndexExtract_RT")]
548 internal static extern MkErrorE MkBufferListIndexExtract (IntPtr mkrt, IntPtr bfl, Int32 index, out IntPtr val_out);
549
550 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkBufferListIndexGet_RT")]
551 internal static extern MkErrorE MkBufferListIndexGet (IntPtr mkrt, IntPtr bfl, Int32 index, out IntPtr val_out);
552
553 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkBufferListIndexGetBUF_RT")]
554 internal static extern IntPtr MkBufferListIndexGetBUF (IntPtr mkrt, IntPtr bfl, Int32 index);
555
556 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkBufferListIndexGetSTR_RT")]
557 internal static extern IntPtr MkBufferListIndexGetSTR (IntPtr mkrt, IntPtr bfl, Int32 index);
558
559 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkBufferListIndexSet_RT")]
560 internal static extern MkErrorE MkBufferListIndexSet (IntPtr mkrt, IntPtr bfl, Int32 index, IntPtr buf);
561
562 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkBufferListIndexSetBUF_RT")]
563 internal static extern void MkBufferListIndexSetBUF (IntPtr mkrt, IntPtr bfl, Int32 index, IntPtr buf);
564
565 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkBufferListIndexSetSTR_RT")]
566 internal static extern void MkBufferListIndexSetSTR (IntPtr mkrt, IntPtr bfl, Int32 index, IntPtr str);
567
568 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkBufferListInstancesP")]
569 internal static extern IntPtr MkBufferListInstances (IntPtr mkrt);
570
571 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkBufferListLog_RT")]
572 internal static extern void MkBufferListLog (IntPtr mkrt, IntPtr bfl, IntPtr fmtobj, Int32 debug, IntPtr callfunc, Int32 lvl);
573
574 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkBufferListLogS_RT")]
575 internal static extern void MkBufferListLogS (IntPtr mkrt, IntPtr bfl, IntPtr varname, IntPtr fmtobj, IntPtr callfunc);
576
577 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkBufferListLogSS_RT")]
578 internal static extern void MkBufferListLogSS (IntPtr mkrt, IntPtr bfl, IntPtr varname, IntPtr fmtobj, IntPtr callfunc);
579
580 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkBufferListLogSSS_RT")]
581 internal static extern void MkBufferListLogSSS (IntPtr mkrt, IntPtr bfl, IntPtr varname, IntPtr fmtobj, IntPtr callfunc);
582
583 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkBufferListMerge_RT")]
584 internal static extern IntPtr MkBufferListMerge (IntPtr mkrt, IntPtr bfl);
585
586 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkBufferListMove_RT")]
587 internal static extern void MkBufferListMove (IntPtr mkrt, IntPtr to, IntPtr from);
588
589 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkBufferListNextP")]
590 internal static extern IntPtr MkBufferListNext (IntPtr bfl);
591
592 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkBufferListPositionMerge_RT")]
593 internal static extern IntPtr MkBufferListPositionMerge (IntPtr mkrt, IntPtr bfl, IntPtr source, Int32 position);
594
595 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkBufferListPrevP")]
596 internal static extern IntPtr MkBufferListPrev (IntPtr bfl);
597
598 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkBufferListReserve_RT")]
599 internal static extern void MkBufferListReserve (IntPtr mkrt, IntPtr bfl, Int32 num);
600
601 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkBufferListReset_RT")]
602 internal static extern IntPtr MkBufferListReset (IntPtr mkrt, IntPtr bfl);
603
604 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkBufferListSearchC_RT")]
605 internal static extern Int32 MkBufferListSearchC (IntPtr mkrt, IntPtr bfl, IntPtr str, Int32 len, Int32 startindex);
606
607 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkBufferListSize_RT")]
608 internal static extern Int32 MkBufferListSize (IntPtr mkrt, IntPtr bfl);
609
610 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkBufferListSort_RT")]
611 internal static extern IntPtr MkBufferListSort (IntPtr mkrt, IntPtr bfl);
612
613 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkBufferListToBuffer_RT")]
614 internal static extern IntPtr MkBufferListToBuffer (IntPtr mkrt, IntPtr bfl);
615
616 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkBufferListToList_RT")]
617 internal static extern IntPtr MkBufferListToList (IntPtr mkrt, IntPtr bfl);
618
619 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkBufferListToString_RT")]
620 internal static extern IntPtr MkBufferListToString (IntPtr mkrt, IntPtr bfl);
621
622 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkBufferLog_RT")]
623 internal static extern void MkBufferLog (IntPtr mkrt, IntPtr buf, IntPtr fmtobj, Int32 debug, IntPtr callfunc, Int32 lvl);
624
625 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkBufferLogS_RT")]
626 internal static extern void MkBufferLogS (IntPtr mkrt, IntPtr buf, IntPtr varname, IntPtr fmtobj, IntPtr callfunc);
627
628 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkBufferMerge_RT")]
629 internal static extern IntPtr MkBufferMerge (IntPtr mkrt, IntPtr buf);
630
631 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkBufferNextP")]
632 internal static extern IntPtr MkBufferNext (IntPtr buf);
633
634 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkBufferPop_RT")]
635 internal static extern Int32 MkBufferPop (IntPtr mkrt, IntPtr buf, IntPtr val);
636
637 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkBufferPrevP")]
638 internal static extern IntPtr MkBufferPrev (IntPtr buf);
639
640 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkBufferPush_RT")]
641 internal static extern Int32 MkBufferPush (IntPtr mkrt, IntPtr buf, IntPtr val);
642
643 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkBufferReset_RT")]
644 internal static extern IntPtr MkBufferReset (IntPtr mkrt, IntPtr buf);
645
646 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkBufferResetFull_RT")]
647 internal static extern void MkBufferResetFull (IntPtr mkrt, IntPtr buf);
648
649 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkBufferSetBIN_RT")]
650 internal static extern IntPtr MkBufferSetBIN (IntPtr mkrt, IntPtr buf, Mk.MkBinaryR val);
651
652 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkBufferSetBOL_RT")]
653 internal static extern IntPtr MkBufferSetBOL (IntPtr mkrt, IntPtr buf, Byte val);
654
655 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkBufferSetBUF_RT")]
656 internal static extern IntPtr MkBufferSetBUF (IntPtr mkrt, IntPtr buf, IntPtr val);
657
658 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkBufferSetBinaryR_RT")]
659 internal static extern IntPtr MkBufferSetBinaryR (IntPtr mkrt, IntPtr buf, Mk.MkBinaryR val);
660
661 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkBufferSetDBL_RT")]
662 internal static extern IntPtr MkBufferSetDBL (IntPtr mkrt, IntPtr buf, Double val);
663
664 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkBufferSetFLT_RT")]
665 internal static extern IntPtr MkBufferSetFLT (IntPtr mkrt, IntPtr buf, Single val);
666
667 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkBufferSetI16_RT")]
668 internal static extern IntPtr MkBufferSetI16 (IntPtr mkrt, IntPtr buf, Int16 val);
669
670 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkBufferSetI32_RT")]
671 internal static extern IntPtr MkBufferSetI32 (IntPtr mkrt, IntPtr buf, Int32 val);
672
673 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkBufferSetI64_RT")]
674 internal static extern IntPtr MkBufferSetI64 (IntPtr mkrt, IntPtr buf, Int64 val);
675
676 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkBufferSetI8_RT")]
677 internal static extern IntPtr MkBufferSetI8 (IntPtr mkrt, IntPtr buf, Byte val);
678
679 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkBufferSetSTR_RT")]
680 internal static extern IntPtr MkBufferSetSTR (IntPtr mkrt, IntPtr buf, IntPtr val);
681
682 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkBufferSetStringR_RT")]
683 internal static extern IntPtr MkBufferSetStringR (IntPtr mkrt, IntPtr buf, Mk.MkStringR val);
684
685 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkBufferSizeAdd_RT")]
686 internal static extern IntPtr MkBufferSizeAdd (IntPtr mkrt, IntPtr buf, Int32 size);
687
688 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkBufferSizeNew_RT")]
689 internal static extern IntPtr MkBufferSizeNew (IntPtr mkrt, IntPtr buf, Int32 size);
690
691 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkBufferStreamCopy_RT")]
692 internal static extern IntPtr MkBufferStreamCopy (IntPtr mkrt, IntPtr bus, IntPtr src);
693
694 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkBufferStreamCreate_RT")]
695 internal static extern IntPtr MkBufferStreamCreate (IntPtr mkrt, IntPtr type, Int32 size);
696
697 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkBufferStreamCreate1024_RT")]
698 internal static extern IntPtr MkBufferStreamCreate1024 (IntPtr mkrt, Int32 size);
699
700 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkBufferStreamCreate16384_RT")]
701 internal static extern IntPtr MkBufferStreamCreate16384 (IntPtr mkrt, Int32 size);
702
703 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkBufferStreamCreate256_RT")]
704 internal static extern IntPtr MkBufferStreamCreate256 (IntPtr mkrt, Int32 size);
705
706 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkBufferStreamCreate64_RT")]
707 internal static extern IntPtr MkBufferStreamCreate64 (IntPtr mkrt, Int32 size);
708
709 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkBufferStreamCreateTLS_RT")]
710 internal static extern IntPtr MkBufferStreamCreateTLS (IntPtr mkrt, IntPtr tlsName, bool resetB);
711
712 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkBufferStreamDelete_RT")]
713 internal static extern void MkBufferStreamDelete (IntPtr mkrt, IntPtr bus);
714
715 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkBufferStreamDup_RT")]
716 internal static extern IntPtr MkBufferStreamDup (IntPtr mkrt, IntPtr src);
717
718 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkBufferStreamGetNullP")]
719 internal static extern IntPtr MkBufferStreamGetNull ();
720
721 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkBufferStreamHandleGetP")]
722 internal static extern Int32 MkBufferStreamHandleGet (IntPtr mkrt, IntPtr bus);
723
724 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkBufferStreamHandleResolveP")]
725 internal static extern IntPtr MkBufferStreamHandleResolve (IntPtr mkrt, Int32 netHdl);
726
727 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkBufferStreamInstancesP")]
728 internal static extern IntPtr MkBufferStreamInstances (IntPtr mkrt);
729
730 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkBufferStreamLog_RT")]
731 internal static extern void MkBufferStreamLog (IntPtr mkrt, IntPtr bus, IntPtr fmtobj, Int32 debug, IntPtr callfunc, Int32 lvl);
732
733 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkBufferStreamMerge_RT")]
734 internal static extern IntPtr MkBufferStreamMerge (IntPtr mkrt, IntPtr bus);
735
736 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkBufferStreamNextP")]
737 internal static extern IntPtr MkBufferStreamNext (IntPtr bus);
738
739 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkBufferStreamPosToStart_RT")]
740 internal static extern void MkBufferStreamPosToStart (IntPtr mkrt, IntPtr bus);
741
742 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkBufferStreamPrevP")]
743 internal static extern IntPtr MkBufferStreamPrev (IntPtr bus);
744
745 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkBufferStreamReadALL_RT")]
746 internal static extern MkErrorE MkBufferStreamReadALL (IntPtr mkrt, IntPtr bus, ref IntPtr val_inout);
747
748 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkBufferStreamReadBFL_RT")]
749 internal static extern MkErrorE MkBufferStreamReadBFL (IntPtr mkrt, IntPtr bus, out IntPtr val_out);
750
751 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkBufferStreamReadBIN_RT")]
752 internal static extern MkErrorE MkBufferStreamReadBIN (IntPtr mkrt, IntPtr bus, out Mk.MkBinaryR val_out);
753
754 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkBufferStreamReadBOL_RT")]
755 internal static extern MkErrorE MkBufferStreamReadBOL (IntPtr mkrt, IntPtr bus, out Byte val_out);
756
757 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkBufferStreamReadBUF_RT")]
758 internal static extern MkErrorE MkBufferStreamReadBUF (IntPtr mkrt, IntPtr bus, out IntPtr val_out);
759
760 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkBufferStreamReadDBL_RT")]
761 internal static extern MkErrorE MkBufferStreamReadDBL (IntPtr mkrt, IntPtr bus, out Double val_out);
762
763 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkBufferStreamReadFLT_RT")]
764 internal static extern MkErrorE MkBufferStreamReadFLT (IntPtr mkrt, IntPtr bus, out Single val_out);
765
766 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkBufferStreamReadGetNextType_RT")]
767 internal static extern MkTypeE MkBufferStreamReadGetNextType (IntPtr mkrt, IntPtr bus);
768
769 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkBufferStreamReadGetNumItems_RT")]
770 internal static extern Int32 MkBufferStreamReadGetNumItems (IntPtr mkrt, IntPtr bus);
771
772 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkBufferStreamReadI32_RT")]
773 internal static extern MkErrorE MkBufferStreamReadI32 (IntPtr mkrt, IntPtr bus, out Int32 val_out);
774
775 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkBufferStreamReadI64_RT")]
776 internal static extern MkErrorE MkBufferStreamReadI64 (IntPtr mkrt, IntPtr bus, out Int64 val_out);
777
778 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkBufferStreamReadI8_RT")]
779 internal static extern MkErrorE MkBufferStreamReadI8 (IntPtr mkrt, IntPtr bus, out Byte val_out);
780
781 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkBufferStreamReadItemExists_RT")]
782 internal static extern bool MkBufferStreamReadItemExists (IntPtr mkrt, IntPtr bus);
783
784 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkBufferStreamReadLONG_RT")]
785 internal static extern MkErrorE MkBufferStreamReadLONG (IntPtr mkrt, IntPtr bus, out long val_out);
786
787 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkBufferStreamReadL_END_RT")]
788 internal static extern MkErrorE MkBufferStreamReadL_END (IntPtr mkrt, IntPtr bus);
789
790 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkBufferStreamReadL_START_RT")]
791 internal static extern MkErrorE MkBufferStreamReadL_START (IntPtr mkrt, IntPtr bus, IntPtr buf);
792
793 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkBufferStreamReadSTR_RT")]
794 internal static extern MkErrorE MkBufferStreamReadSTR (IntPtr mkrt, IntPtr bus, out IntPtr val_out);
795
796 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkBufferStreamReadUndo_RT")]
797 internal static extern MkErrorE MkBufferStreamReadUndo (IntPtr mkrt, IntPtr bus);
798
799 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkBufferStreamReset_RT")]
800 internal static extern IntPtr MkBufferStreamReset (IntPtr mkrt, IntPtr bus);
801
802 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkBufferStreamResetFull_RT")]
803 internal static extern void MkBufferStreamResetFull (IntPtr mkrt, IntPtr bus);
804
805 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkBufferStreamToBFL_RT")]
806 internal static extern IntPtr MkBufferStreamToBFL (IntPtr mkrt, IntPtr bus);
807
808 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkBufferStreamToString_RT")]
809 internal static extern IntPtr MkBufferStreamToString (IntPtr mkrt, IntPtr inst);
810
811 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkBufferStreamWriteBFL_RT")]
812 internal static extern MkErrorE MkBufferStreamWriteBFL (IntPtr mkrt, IntPtr bus, IntPtr bfl);
813
814 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkBufferStreamWriteBIN_RT")]
815 internal static extern MkErrorE MkBufferStreamWriteBIN (IntPtr mkrt, IntPtr bus, Mk.MkBinaryR val);
816
817 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkBufferStreamWriteBOL_RT")]
818 internal static extern MkErrorE MkBufferStreamWriteBOL (IntPtr mkrt, IntPtr bus, Byte val);
819
820 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkBufferStreamWriteBUF_RT")]
821 internal static extern MkErrorE MkBufferStreamWriteBUF (IntPtr mkrt, IntPtr bus, IntPtr val);
822
823 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkBufferStreamWriteBUS_FLAT_RT")]
824 internal static extern MkErrorE MkBufferStreamWriteBUS_FLAT (IntPtr mkrt, IntPtr bus, IntPtr add);
825
826 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkBufferStreamWriteDBL_RT")]
827 internal static extern MkErrorE MkBufferStreamWriteDBL (IntPtr mkrt, IntPtr bus, Double val);
828
829 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkBufferStreamWriteFLT_RT")]
830 internal static extern MkErrorE MkBufferStreamWriteFLT (IntPtr mkrt, IntPtr bus, Single val);
831
832 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkBufferStreamWriteHDL_RT")]
833 internal static extern MkErrorE MkBufferStreamWriteHDL (IntPtr mkrt, IntPtr bus, Int32 val);
834
835 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkBufferStreamWriteI32_RT")]
836 internal static extern MkErrorE MkBufferStreamWriteI32 (IntPtr mkrt, IntPtr bus, Int32 val);
837
838 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkBufferStreamWriteI64_RT")]
839 internal static extern MkErrorE MkBufferStreamWriteI64 (IntPtr mkrt, IntPtr bus, Int64 val);
840
841 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkBufferStreamWriteI8_RT")]
842 internal static extern MkErrorE MkBufferStreamWriteI8 (IntPtr mkrt, IntPtr bus, Byte val);
843
844 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkBufferStreamWriteLONG_RT")]
845 internal static extern MkErrorE MkBufferStreamWriteLONG (IntPtr mkrt, IntPtr bus, long val);
846
847 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkBufferStreamWriteL_END_RT")]
848 internal static extern MkErrorE MkBufferStreamWriteL_END (IntPtr mkrt, IntPtr bus);
849
850 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkBufferStreamWriteL_FLAT_RT")]
851 internal static extern MkErrorE MkBufferStreamWriteL_FLAT (IntPtr mkrt, IntPtr bus, IntPtr bfl);
852
853 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkBufferStreamWriteL_START_RT")]
854 internal static extern MkErrorE MkBufferStreamWriteL_START (IntPtr mkrt, IntPtr bus);
855
856 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkBufferStreamWriteSTR_RT")]
857 internal static extern MkErrorE MkBufferStreamWriteSTR (IntPtr mkrt, IntPtr bus, IntPtr val, Int32 len);
858
859 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkBufferTemp_RT")]
860 internal static extern IntPtr MkBufferTemp (IntPtr mkrt, IntPtr buf);
861
862 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkBufferToObject_RT")]
863 internal static extern MkErrorE MkBufferToObject (IntPtr mkrt, IntPtr buf, out IntPtr obj_out);
864
865 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkBufferToString_RT")]
866 internal static extern IntPtr MkBufferToString (IntPtr mkrt, IntPtr inst);
867
868 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkBusP")]
869 internal static extern IntPtr MkBus (IntPtr mng);
870
871 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkBusCheckP")]
872 internal static extern bool MkBusCheck (IntPtr mng);
873
874 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkBusCheckOP")]
875 internal static extern bool MkBusCheckO (IntPtr obj);
876
877 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkCleanup")]
878 internal static extern void MkCleanup ();
879
880 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkCsTypeUpdate_RT")]
881 internal static extern void MkCsTypeUpdate (IntPtr mkrt, MkCsTypeLookupE typeL, MkSelfCreateF selfCTOR, MkSelfUnlinkF selfUnlink);
882
883 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkDbgDump_RT")]
884 internal static extern MkErrorE MkDbgDump (IntPtr mkrt, IntPtr obj, IntPtr message, IntPtr callfunc);
885
886 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkDbgL_RT")]
887 internal static extern void MkDbgL (IntPtr mkrt, IntPtr fmtobj, IntPtr message, Int32 debug, IntPtr callfunc, Int32 lvl);
888
889 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkDbgLogC_RT")]
890 internal static extern void MkDbgLogC (IntPtr mkrt, IntPtr obj, IntPtr callfunc);
891
892 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkDbgM_RT")]
893 internal static extern void MkDbgM (IntPtr mkrt, IntPtr message, Int32 debug, IntPtr callfunc, Int32 lvl);
894
895 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkDbgO_RT")]
896 internal static extern void MkDbgO (IntPtr mkrt, IntPtr obj, IntPtr callfunc);
897
898 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkDbgSTACK_RT")]
899 internal static extern void MkDbgSTACK (IntPtr mkrt, IntPtr fmtobj, Int32 skip, Int32 num, IntPtr callfunc);
900
901 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkErrP")]
902 internal static extern IntPtr MkErr (IntPtr mng);
903
904 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkErrCheckP")]
905 internal static extern bool MkErrCheck (IntPtr mng);
906
907 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkErrCheckOP")]
908 internal static extern bool MkErrCheckO (IntPtr obj);
909
910 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkErrorAppendC_RT")]
911 public static extern void MkErrorAppendC (IntPtr mkrt, IntPtr err, IntPtr message);
912
913 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkErrorCatch_RT")]
914 internal static extern IntPtr MkErrorCatch (IntPtr mkrt, IntPtr err, IntPtr exception, IntPtr callfunc);
915
916 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkErrorCleanup_RT")]
917 internal static extern void MkErrorCleanup (IntPtr mkrt, IntPtr err, IntPtr callfunc, Int32 callline);
918
919 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkErrorCopy_RT")]
920 internal static extern void MkErrorCopy (IntPtr mkrt, IntPtr dest, IntPtr srce);
921
922 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkErrorDEFAULTP")]
923 internal static extern IntPtr MkErrorDEFAULT (IntPtr mkrt);
924
925 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkErrorDelete_RT")]
926 internal static extern void MkErrorDelete (IntPtr mkrt, IntPtr err);
927
928 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkErrorDup_RT")]
929 internal static extern IntPtr MkErrorDup (IntPtr mkrt, IntPtr srce);
930
931 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkErrorEXITP")]
932 internal static extern IntPtr MkErrorEXIT (IntPtr mkrt);
933
934 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkErrorE_FromInt")]
935 internal static extern MkErrorE MkErrorE_FromInt (Int32 value, out MkErrorE value_out);
936
937 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkErrorE_ToIntP")]
938 internal static extern Int32 MkErrorE_ToInt (MkErrorE value);
939
940 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkErrorE_ToString")]
941 internal static extern IntPtr MkErrorE_ToString (MkErrorE value);
942
943 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkErrorFORMAT")]
944 public static extern IntPtr MkErrorFORMAT (IntPtr fmtobj);
945
946 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkErrorGetCode")]
947 internal static extern MkErrorE MkErrorGetCode (IntPtr err);
948
949 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkErrorGetNullP")]
950 internal static extern IntPtr MkErrorGetNull ();
951
952 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkErrorGetNum")]
953 internal static extern Int32 MkErrorGetNum (IntPtr err);
954
955 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkErrorGetSize")]
956 internal static extern long MkErrorGetSize (IntPtr err);
957
958 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkErrorGetText")]
959 internal static extern IntPtr MkErrorGetText (IntPtr err);
960
961 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkErrorHandleGetP")]
962 internal static extern Int32 MkErrorHandleGet (IntPtr mkrt, IntPtr err);
963
964 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkErrorHandleResolveP")]
965 internal static extern IntPtr MkErrorHandleResolve (IntPtr mkrt, Int32 netHdl);
966
967 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkErrorIGNOREP")]
968 internal static extern IntPtr MkErrorIGNORE (IntPtr mkrt);
969
970 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkErrorInstancesP")]
971 internal static extern IntPtr MkErrorInstances (IntPtr mkrt);
972
973 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkErrorIsABORT")]
974 internal static extern bool MkErrorIsABORT (IntPtr err);
975
976 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkErrorIsEXIT")]
977 internal static extern bool MkErrorIsEXIT (IntPtr err);
978
979 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkErrorIsSOCKET")]
980 internal static extern bool MkErrorIsSOCKET (IntPtr err);
981
982 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkErrorIsTIMEOUT")]
983 internal static extern bool MkErrorIsTIMEOUT (IntPtr err);
984
985 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkErrorLog_RT")]
986 internal static extern void MkErrorLog (IntPtr mkrt, IntPtr err, IntPtr fmtobj, Int32 debug, IntPtr callfunc, Int32 lvl);
987
988 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkErrorNextP")]
989 internal static extern IntPtr MkErrorNext (IntPtr err);
990
991 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkErrorNoRaise_RT")]
992 internal static extern IntPtr MkErrorNoRaise (IntPtr mkrt, IntPtr err);
993
994 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkErrorPANICP")]
995 internal static extern IntPtr MkErrorPANIC (IntPtr mkrt);
996
997 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkErrorPRINTP")]
998 internal static extern IntPtr MkErrorPRINT (IntPtr mkrt);
999
1000 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkErrorPrevP")]
1001 internal static extern IntPtr MkErrorPrev (IntPtr err);
1002
1003 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkErrorPrintln_RT")]
1004 internal static extern void MkErrorPrintln (IntPtr mkrt, IntPtr err, IntPtr msg, IntPtr callfunc, Int32 callline);
1005
1006 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkErrorRaise_RT")]
1007 internal static extern MkErrorE MkErrorRaise (IntPtr mkrt, IntPtr err);
1008
1009 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkErrorReset_RT")]
1010 internal static extern MkErrorE MkErrorReset (IntPtr mkrt, IntPtr err, IntPtr callfunc, Int32 callline, bool force);
1011
1012 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkErrorSetABORT_RT")]
1013 internal static extern MkErrorE MkErrorSetABORT (IntPtr mkrt, IntPtr err, IntPtr detail, IntPtr callfunc);
1014
1015 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkErrorSetC_RT")]
1016 public static extern MkErrorE MkErrorSetC (IntPtr mkrt, IntPtr err, IntPtr message, IntPtr callfunc, Int32 errnum);
1017
1018 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkErrorSetCONTINUE_RT")]
1019 internal static extern void MkErrorSetCONTINUE (IntPtr mkrt, IntPtr err);
1020
1021 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkErrorSetCode_RT")]
1022 internal static extern void MkErrorSetCode (IntPtr mkrt, IntPtr err, MkErrorE code);
1023
1024 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkErrorSetE_RT")]
1025 internal static extern MkErrorE MkErrorSetE (IntPtr mkrt, IntPtr err, IntPtr newerr);
1026
1027 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkErrorSetEXIT_RT")]
1028 internal static extern MkErrorE MkErrorSetEXIT (IntPtr mkrt, IntPtr err, IntPtr callfunc);
1029
1030 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkErrorSetSOCKET_RT")]
1031 internal static extern MkErrorE MkErrorSetSOCKET (IntPtr mkrt, IntPtr err, IntPtr detail, IntPtr callfunc);
1032
1033 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkErrorStack_RT")]
1034 internal static extern MkErrorE MkErrorStack (IntPtr mkrt, IntPtr err, IntPtr callfunc, IntPtr callfile, Int32 callline);
1035
1036 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkErrorStackFormat_RT")]
1037 internal static extern void MkErrorStackFormat (IntPtr mkrt, IntPtr err, IntPtr callfunc, IntPtr callfile, Int32 callline);
1038
1039 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkErrorToString_RT")]
1040 internal static extern IntPtr MkErrorToString (IntPtr mkrt, IntPtr inst);
1041
1042 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkIdSE_FromInt")]
1043 internal static extern MkErrorE MkIdSE_FromInt (Int32 value, out MkIdSE value_out);
1044
1045 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkIdSE_ToIntP")]
1046 internal static extern Int32 MkIdSE_ToInt (MkIdSE value);
1047
1048 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkIdSE_ToString")]
1049 internal static extern IntPtr MkIdSE_ToString (MkIdSE value);
1050
1051 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkLflP")]
1052 internal static extern IntPtr MkLfl (IntPtr mng);
1053
1054 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkLflCheckP")]
1055 internal static extern bool MkLflCheck (IntPtr mng);
1056
1057 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkLflCheckOP")]
1058 internal static extern bool MkLflCheckO (IntPtr obj);
1059
1060 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkLogC_RT")]
1061 internal static extern void MkLogC (IntPtr mkrt, IntPtr fmtobj, IntPtr message, Int32 debug, IntPtr callfunc);
1062
1063 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkLogFileClose_RT")]
1064 internal static extern void MkLogFileClose (IntPtr mkrt, IntPtr lfh);
1065
1066 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkLogFileGetFile_RT")]
1067 internal static extern MkErrorE MkLogFileGetFile (IntPtr mkrt, IntPtr lfl, out IntPtr file_out);
1068
1069 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkLogFileGetNullP")]
1070 internal static extern IntPtr MkLogFileGetNull ();
1071
1072 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkLogFileHandleGetP")]
1073 internal static extern Int32 MkLogFileHandleGet (IntPtr mkrt, IntPtr lfl);
1074
1075 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkLogFileHandleResolveP")]
1076 internal static extern IntPtr MkLogFileHandleResolve (IntPtr mkrt, Int32 netHdl);
1077
1078 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkLogFileInstancesP")]
1079 internal static extern IntPtr MkLogFileInstances (IntPtr mkrt);
1080
1081 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkLogFileNextP")]
1082 internal static extern IntPtr MkLogFileNext (IntPtr lfl);
1083
1084 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkLogFileOpen_RT")]
1085 internal static extern MkErrorE MkLogFileOpen (IntPtr mkrt, IntPtr fmtobj, IntPtr file, out IntPtr lfh_out);
1086
1087 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkLogFilePrevP")]
1088 internal static extern IntPtr MkLogFilePrev (IntPtr lfl);
1089
1090 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkLogFileWriteC_RT")]
1091 internal static extern MkErrorE MkLogFileWriteC (IntPtr mkrt, IntPtr lfl, IntPtr text);
1092
1093 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkLogHEX_RT")]
1094 internal static extern void MkLogHEX (IntPtr mkrt, IntPtr fmtobj, IntPtr callfunc, Mk.MkBinaryR data);
1095
1096 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkObjP")]
1097 internal static extern IntPtr MkObj (IntPtr mng);
1098
1099 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkObjCheckP")]
1100 internal static extern bool MkObjCheck (IntPtr mng);
1101
1102 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkObjCheckOP")]
1103 internal static extern bool MkObjCheckO (IntPtr obj);
1104
1105 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkObjCopy_RT")]
1106 internal static extern IntPtr MkObjCopy (IntPtr mkrt, IntPtr tgtmng, IntPtr srcmng);
1107
1108 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkObjCreate_RT")]
1109 internal static extern IntPtr MkObjCreate (IntPtr mkrt, IntPtr type, IntPtr nat, IntPtr lnk);
1110
1111 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkObjDup_RT")]
1112 internal static extern IntPtr MkObjDup (IntPtr mkrt, IntPtr srcobj);
1113
1114 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkObjDup2_RT")]
1115 internal static extern IntPtr MkObjDup2 (IntPtr mkrt, IntPtr srcmng, IntPtr ident);
1116
1117 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkObjMerge_RT")]
1118 internal static extern IntPtr MkObjMerge (IntPtr mkrt, IntPtr obj);
1119
1120 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkObjReset_RT")]
1121 internal static extern IntPtr MkObjReset (IntPtr mkrt, IntPtr obj);
1122
1123 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkObjectDelete_RT")]
1124 internal static extern void MkObjectDelete (IntPtr mkrt, IntPtr obj);
1125
1126 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkObjectDeleteCallbackCleanup_RT")]
1127 internal static extern void MkObjectDeleteCallbackCleanup (IntPtr mkrt, IntPtr ident);
1128
1129 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkObjectDeleteCallbackSetup_RT")]
1130 internal static extern MkErrorE MkObjectDeleteCallbackSetup (IntPtr mkrt, IntPtr ident, MkObjectDeleteCallF fCall, IntPtr callback, MkObjectDeleteFreeF fFree, IntPtr filter);
1131
1132 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkObjectDispose_RT")]
1133 internal static extern void MkObjectDispose (IntPtr mkrt, IntPtr obj);
1134
1135 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkObjectErrorCatch_RT")]
1136 internal static extern IntPtr MkObjectErrorCatch (IntPtr mkrt, IntPtr obj, IntPtr exception, IntPtr callfunc);
1137
1138 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkObjectGetNullP")]
1139 internal static extern IntPtr MkObjectGetNull ();
1140
1141 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkObjectHandleDelete_RT")]
1142 internal static extern void MkObjectHandleDelete (IntPtr mkrt, IntPtr netObj);
1143
1144 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkObjectHandleDeleteByNetHdl_RT")]
1145 internal static extern void MkObjectHandleDeleteByNetHdl (IntPtr mkrt, Int32 netHdl);
1146
1147 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkObjectHandleExists")]
1148 internal static extern bool MkObjectHandleExists (IntPtr obj);
1149
1150 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkObjectHandleGet_RT")]
1151 public static extern Int32 MkObjectHandleGet (IntPtr mkrt, IntPtr obj);
1152
1153 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkObjectHandleGetOfTypeP")]
1154 internal static extern Int32 MkObjectHandleGetOfType (IntPtr obj);
1155
1156 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkObjectHandleGetOr0")]
1157 internal static extern Int32 MkObjectHandleGetOr0 (IntPtr obj);
1158
1159 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkObjectHandleResolve_RT")]
1160 internal static extern IntPtr MkObjectHandleResolve (IntPtr mkrt, Int32 netHdl);
1161
1162 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkObjectInstancesP")]
1163 internal static extern IntPtr MkObjectInstances (IntPtr mkrt);
1164
1165 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkObjectIsNullP")]
1166 internal static extern bool MkObjectIsNull (IntPtr obj);
1167
1168 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkObjectLog_RT")]
1169 internal static extern void MkObjectLog (IntPtr mkrt, IntPtr obj, IntPtr fmtobj, Int32 debug, IntPtr callfunc, Int32 lvl);
1170
1171 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkObjectLogLong_RT")]
1172 internal static extern void MkObjectLogLong (IntPtr mkrt, IntPtr obj, IntPtr fmtobj, Int32 debug, IntPtr callfunc, Int32 lvl);
1173
1174 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkObjectLogShort_RT")]
1175 internal static extern void MkObjectLogShort (IntPtr mkrt, IntPtr obj, IntPtr fmtobj, Int32 debug, IntPtr callfunc, Int32 lvl);
1176
1177 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkObjectLogType_RT")]
1178 internal static extern void MkObjectLogType (IntPtr mkrt, IntPtr obj, IntPtr fmtobj, Int32 debug, IntPtr callfunc, Int32 lvl);
1179
1180 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkObjectNextP")]
1181 internal static extern IntPtr MkObjectNext (IntPtr obj);
1182
1183 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkObjectPrevP")]
1184 internal static extern IntPtr MkObjectPrev (IntPtr obj);
1185
1186 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkObjectToErrorP")]
1187 internal static extern IntPtr MkObjectToError (IntPtr mkrt, IntPtr obj);
1188
1189 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkObjectToName_RT")]
1190 internal static extern IntPtr MkObjectToName (IntPtr mkrt, IntPtr obj);
1191
1192 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkObjectToNameOfClass_RT")]
1193 internal static extern IntPtr MkObjectToNameOfClass (IntPtr mkrt, IntPtr obj);
1194
1195 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkObjectToNameOfType_RT")]
1196 internal static extern IntPtr MkObjectToNameOfType (IntPtr mkrt, IntPtr obj);
1197
1198 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkObjectToString_RT")]
1199 internal static extern IntPtr MkObjectToString (IntPtr mkrt, IntPtr inst);
1200
1201 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkPanicC_RT")]
1202 internal static extern void MkPanicC (IntPtr mkrt, IntPtr fmtobj, IntPtr callfunc, Int32 errnum, IntPtr message);
1203
1204 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkPanicDEFAULT_RT")]
1205 internal static extern void MkPanicDEFAULT (IntPtr mkrt, IntPtr fmtobj, IntPtr callfunc);
1206
1207 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkRefCidN_RT")]
1208 internal static extern Int32 MkRefCidN (IntPtr mkrt);
1209
1210 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkRefDecr_RT")]
1211 internal static extern void MkRefDecr (IntPtr mkrt, IntPtr obj);
1212
1213 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkRefDecrWithUnlinkSelf_RT")]
1214 internal static extern IntPtr MkRefDecrWithUnlinkSelf (IntPtr mkrt, IntPtr obj);
1215
1216 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkRefDecrWithoutSelf_RT")]
1217 internal static extern IntPtr MkRefDecrWithoutSelf (IntPtr mkrt, IntPtr obj);
1218
1219 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkRefGetP")]
1220 internal static extern Int32 MkRefGet (IntPtr obj);
1221
1222 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkRefIncrP")]
1223 internal static extern void MkRefIncr (IntPtr obj);
1224
1225 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkRefIncrSelfP")]
1226 internal static extern void MkRefIncrSelf (IntPtr obj, IntPtr self, IntPtr env);
1227
1228 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkRefIsLockedP")]
1229 internal static extern bool MkRefIsLocked (IntPtr obj);
1230
1231 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkRefLockP")]
1232 internal static extern Int32 MkRefLock (IntPtr obj);
1233
1234 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkRtP")]
1235 internal static extern IntPtr MkRt (IntPtr mng);
1236
1237 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkRtCheckP")]
1238 internal static extern bool MkRtCheck (IntPtr mng);
1239
1240 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkRtCheckOP")]
1241 internal static extern bool MkRtCheckO (IntPtr obj);
1242
1243 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkRuntimeDebugGetP")]
1244 internal static extern Int32 MkRuntimeDebugGet ();
1245
1246 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkRuntimeDebugSetP")]
1247 internal static extern void MkRuntimeDebugSet (Int32 dbg);
1248
1249 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkRuntimeErrorGetCodeP")]
1250 public static extern MkErrorE MkRuntimeErrorGetCode (IntPtr mkrt);
1251
1252 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkRuntimeGetP")]
1253 public static extern IntPtr MkRuntimeGet ();
1254
1255 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkRuntimeGetFromObjP")]
1256 internal static extern IntPtr MkRuntimeGetFromObj (IntPtr obj);
1257
1258 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkRuntimeGetNullP")]
1259 internal static extern IntPtr MkRuntimeGetNull ();
1260
1261 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkRuntimeHandleGetP")]
1262 internal static extern Int32 MkRuntimeHandleGet (IntPtr mkrt, IntPtr rt);
1263
1264 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkRuntimeHandleResolveP")]
1265 internal static extern IntPtr MkRuntimeHandleResolve (IntPtr mkrt, Int32 netHdl);
1266
1267 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkRuntimeInstancesP")]
1268 internal static extern IntPtr MkRuntimeInstances (IntPtr mkrt);
1269
1270 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkRuntimeIsSilentGetP")]
1271 internal static extern bool MkRuntimeIsSilentGet ();
1272
1273 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkRuntimeIsSilentSetP")]
1274 internal static extern void MkRuntimeIsSilentSet (IntPtr mkrt, bool silent);
1275
1276 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkRuntimeLog0_RT")]
1277 internal static extern void MkRuntimeLog0 (IntPtr mkrt, IntPtr fmtobj, Int32 debug, IntPtr callfunc, Int32 lvl);
1278
1279 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkRuntimeLogTargetGetP")]
1280 internal static extern IntPtr MkRuntimeLogTargetGet ();
1281
1282 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkRuntimeLogTargetReset_RT")]
1283 internal static extern MkErrorE MkRuntimeLogTargetReset (IntPtr mkrt);
1284
1285 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkRuntimeLogTargetSet_RT")]
1286 internal static extern MkErrorE MkRuntimeLogTargetSet (IntPtr mkrt, IntPtr logTgt);
1287
1288 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkRuntimeNextP")]
1289 internal static extern IntPtr MkRuntimeNext (IntPtr rt);
1290
1291 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkRuntimeNoDecoSetP")]
1292 internal static extern void MkRuntimeNoDecoSet (IntPtr mkrt, bool noDeco);
1293
1294 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkRuntimePrevP")]
1295 internal static extern IntPtr MkRuntimePrev (IntPtr rt);
1296
1297 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkRuntimeSetCID")]
1298 internal static extern void MkRuntimeSetCID (IntPtr cid);
1299
1300 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkSelfCreate_RT")]
1301 internal static extern IntPtr MkSelfCreate (IntPtr mkrt, IntPtr obj, IntPtr env);
1302
1303 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkSelfDelete_RT")]
1304 internal static extern bool MkSelfDelete (IntPtr mkrt, IntPtr obj);
1305
1306 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkSelfDeleteForce_RT")]
1307 internal static extern bool MkSelfDeleteForce (IntPtr mkrt, IntPtr obj);
1308
1309 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkSelfExistsP")]
1310 internal static extern bool MkSelfExists (IntPtr obj);
1311
1312 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkSelfGetP")]
1313 public static extern IntPtr MkSelfGet (IntPtr obj);
1314
1315 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkSelfNewP")]
1316 internal static extern MkErrorE MkSelfNew (IntPtr mkrt, IntPtr obj, out IntPtr self_out, IntPtr env);
1317
1318 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkSelfSetP")]
1319 internal static extern void MkSelfSet (IntPtr obj, IntPtr self, IntPtr env);
1320
1321 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkSelfUnlink_RT")]
1322 internal static extern void MkSelfUnlink (IntPtr mkrt, IntPtr obj);
1323
1324 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkSetup")]
1325 internal static extern void MkSetup ();
1326
1327 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkString2BOL_RT")]
1328 public static extern MkErrorE MkString2BOL (IntPtr mkrt, IntPtr str, Int32 length, out Byte val_out);
1329
1330 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkString2BOOL_RT")]
1331 internal static extern MkErrorE MkString2BOOL (IntPtr mkrt, IntPtr str, Int32 length, out bool val_out);
1332
1333 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkString2DBL_RT")]
1334 public static extern MkErrorE MkString2DBL (IntPtr mkrt, IntPtr str, Int32 length, out Double val_out);
1335
1336 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkString2FLT_RT")]
1337 public static extern MkErrorE MkString2FLT (IntPtr mkrt, IntPtr str, Int32 length, out Single val_out);
1338
1339 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkString2HDL_RT")]
1340 public static extern MkErrorE MkString2HDL (IntPtr mkrt, IntPtr str, Int32 length, out Int32 val_out);
1341
1342 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkString2I16_RT")]
1343 public static extern MkErrorE MkString2I16 (IntPtr mkrt, IntPtr str, Int32 length, out Int16 val_out);
1344
1345 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkString2I32_RT")]
1346 public static extern MkErrorE MkString2I32 (IntPtr mkrt, IntPtr str, Int32 length, out Int32 val_out);
1347
1348 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkString2I64_RT")]
1349 public static extern MkErrorE MkString2I64 (IntPtr mkrt, IntPtr str, Int32 length, out Int64 val_out);
1350
1351 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkString2I8_RT")]
1352 public static extern MkErrorE MkString2I8 (IntPtr mkrt, IntPtr str, Int32 length, out Byte val_out);
1353
1354 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkString2LONG_RT")]
1355 internal static extern MkErrorE MkString2LONG (IntPtr mkrt, IntPtr str, Int32 length, out long val_out);
1356
1357 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkString2U16_RT")]
1358 internal static extern MkErrorE MkString2U16 (IntPtr mkrt, IntPtr str, Int32 length, out Int16 val_out);
1359
1360 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkString2U32_RT")]
1361 internal static extern MkErrorE MkString2U32 (IntPtr mkrt, IntPtr str, Int32 length, out Int32 val_out);
1362
1363 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkStringCreateP")]
1364 internal static extern Mk.MkStringR MkStringCreate (Int32 len, IntPtr str);
1365
1366 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkStringCreate_1P")]
1367 public static extern Mk.MkStringR MkStringCreate_1 (IntPtr str);
1368
1369 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkStringDupP")]
1370 internal static extern Mk.MkStringR MkStringDup (IntPtr mkrt, Mk.MkStringR str);
1371
1372 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkStringGetDataP")]
1373 internal static extern IntPtr MkStringGetData (Mk.MkStringR str);
1374
1375 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkStringGetSizeP")]
1376 internal static extern Int32 MkStringGetSize (Mk.MkStringR str);
1377
1378 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkStringIsNULLP")]
1379 internal static extern bool MkStringIsNULL (Mk.MkStringR strR);
1380
1381 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkStringLogP")]
1382 internal static extern void MkStringLog (IntPtr mkrt, Mk.MkStringR str, IntPtr func);
1383
1384 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkStringSliceP")]
1385 internal static extern Mk.MkStringR MkStringSlice (Mk.MkStringR strR, Int32 start, Int32 len);
1386
1387 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkStringSplitP")]
1388 internal static extern void MkStringSplit (Mk.MkStringR strR, out Int32 len_out, out IntPtr str_out);
1389
1390 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkSysGetPid")]
1391 internal static extern MkErrorE MkSysGetPid (IntPtr fmtobj, out Int32 pid_out);
1392
1393 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkSysHashI32")]
1394 internal static extern Int32 MkSysHashI32 (IntPtr key, Int32 length);
1395
1396 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkSysHashSTR")]
1397 internal static extern IntPtr MkSysHashSTR (IntPtr key, Int32 length);
1398
1399 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkSysKill")]
1400 internal static extern MkErrorE MkSysKill (IntPtr fmtobj, Int32 pid, Int32 signal);
1401
1402 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkTimeoutE_FromInt")]
1403 internal static extern MkErrorE MkTimeoutE_FromInt (Int32 value, out MkTimeoutE value_out);
1404
1405 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkTimeoutE_ToIntP")]
1406 internal static extern Int32 MkTimeoutE_ToInt (MkTimeoutE value);
1407
1408 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkTimeoutE_ToString")]
1409 internal static extern IntPtr MkTimeoutE_ToString (MkTimeoutE value);
1410
1411 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkTypeE_FromInt")]
1412 internal static extern MkErrorE MkTypeE_FromInt (Int32 value, out MkTypeE value_out);
1413
1414 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkTypeE_ToIntP")]
1415 internal static extern Int32 MkTypeE_ToInt (MkTypeE value);
1416
1417 [DllImport(MkSetupC.DLL, CallingConvention=MkSetupC.CC, CharSet=MkSetupC.CS, EntryPoint = "MkTypeE_ToString")]
1418 internal static extern IntPtr MkTypeE_ToString (MkTypeE value);
1419
1420 // END-func - created by 'cs_MqS.tcl -i NHI1_HOME/theKernel/c/gen/c_mkkernel.meta' - DO NOT change
1421
1422 // BEGIN-class - created by 'cs_MqS.tcl -i NHI1_HOME/theKernel/c/gen/c_mkkernel.meta' - DO NOT change
1423
1424 static Mk() {
1425 if (IntPtr.Size != 8) {
1426 throw new PlatformNotSupportedException($"word-size-error: expect '8' but got '{IntPtr.Size}'");
1427 }
1428 }
1429
1430 // END-class - created by 'cs_MqS.tcl -i NHI1_HOME/theKernel/c/gen/c_mkkernel.meta' - DO NOT change
1431
1432 } // Mk
1433} // csmkkernel
1434
1435//vim: nowrap
csmkkernel.MkKernel Mk
MkKernel PACKAGE - The package is the toplevel structure of the Programming-Language-Micro-Kernel (PL...
static Mk.MkBinaryR MkBinaryCreate(long size, IntPtr data)
static IntPtr MkRuntimeGet()
static Int32 MkObjectHandleGet(IntPtr mkrt, IntPtr obj)
static unsafe void CsMakePersistent(IntPtr hdl)
static MkErrorE MkString2I16(IntPtr mkrt, IntPtr str, Int32 length, out Int16 val_out)
static MkErrorE MkString2I8(IntPtr mkrt, IntPtr str, Int32 length, out Byte val_out)
static MkErrorE MkString2FLT(IntPtr mkrt, IntPtr str, Int32 length, out Single val_out)
static MkErrorE MkString2HDL(IntPtr mkrt, IntPtr str, Int32 length, out Int32 val_out)
static unsafe IntPtr CsGetSelfPtr(IntPtr hdl)
static IntPtr MkErrorFORMAT(IntPtr fmtobj)
static IntPtr MkSelfGet(IntPtr obj)
static void MkBufferListAppendSTR(IntPtr mkrt, IntPtr bfl, IntPtr val)
static MkErrorE MkString2DBL(IntPtr mkrt, IntPtr str, Int32 length, out Double val_out)
static MkErrorE MkString2I32(IntPtr mkrt, IntPtr str, Int32 length, out Int32 val_out)
static unsafe MkErrorE CsRuntimeErrorGetCode(IntPtr mkrt)
static MkErrorE MkString2BOL(IntPtr mkrt, IntPtr str, Int32 length, out Byte val_out)
static MkErrorE MkString2I64(IntPtr mkrt, IntPtr str, Int32 length, out Int64 val_out)
static MkErrorE MkRuntimeErrorGetCode(IntPtr mkrt)
static MkErrorE MkErrorSetC(IntPtr mkrt, IntPtr err, IntPtr message, IntPtr callfunc, Int32 errnum)
static void MkErrorAppendC(IntPtr mkrt, IntPtr err, IntPtr message)
static Mk.MkStringR MkStringCreate_1(IntPtr str)
#define MkBufferAppendC(...)
#define MkBufferAppendStringR(...)
#define MkBufferPush(...)
#define MkBufferPop(...)
#define MkBufferToObject(...)
#define MkBufferHandleGet(...)
#define MkBufferInstances()
#define MkBufferHandleResolve(...)
#define MkBufferGetStringR(...)
#define MkBufferGetSTR(...)
#define MkBufferGetFLT(...)
#define MkBufferGetI16(...)
#define MkBufferGetBIN(...)
#define MkBufferGetBFL(...)
#define MkBufferGetBUF(...)
#define MkBufferGetBOL(...)
#define MkBufferGetI32(...)
#define MkBufferGetDBL(...)
#define MkBufferGetI64(...)
#define MkBufferGetI8(...)
#define MkBufferGetType3(...)
#define MkBufferLogS(...)
#define MkBufferIsLocal(...)
#define MkBufferGetType1(...)
#define MkBufferLog(...)
#define MkBufferGetType2(...)
#define MkBufferCmp(...)
#define MkBufferCopy(...)
#define MkBufferToString(...)
#define MkBufferTemp(...)
#define MkBufferSizeAdd(...)
#define MkBufferCastTo(...)
#define MkBufferResetFull(...)
#define MkBufferReset(...)
#define MkBufferSizeNew(...)
#define MkBufferSetDBL(...)
#define MkBufferSetStringR(...)
#define MkBufferSetBOL(...)
#define MkBufferSetBIN(...)
#define MkBufferSetI64(...)
#define MkBufferSetI16(...)
#define MkBufferSetBUF(...)
#define MkBufferSetFLT(...)
#define MkBufferSetSTR(...)
#define MkBufferSetBinaryR(...)
#define MkBufferSetI8(...)
#define MkBufferSetI32(...)
#define MkBufferCreateSTR(...)
#define MkBufferCreateBOL(...)
#define MkBufferCreateTLS(...)
#define MkBufferMerge(...)
#define MkBufferCreate1024(...)
#define MkBufferCreate(...)
#define MkBufferCreateDBL(...)
#define MkBufferCreateI32(...)
#define MkBufferDelete(x)
#define MkBufferCreateFLT(...)
#define MkBufferCreateI16(...)
#define MkBufferCreateBUF(...)
#define MkBufferCreateBIN(...)
#define MkBufferCreateI64(...)
#define MkBufferCreateI8(...)
#define MkBufferCreate256(...)
#define MkBufferCreate64(...)
#define MkBufferDup(...)
#define MkBufferListAppendLA(...)
#define MkBufferListAppendBOL(...)
#define MkBufferListAppendLP(...)
#define MkBufferListAppendUP(...)
#define MkBufferListAppendFLT(...)
#define MkBufferListAppendI8(...)
#define MkBufferListAppendI16(...)
#define MkBufferListAppendStringR(...)
#define MkBufferListAppendDBL(...)
#define MkBufferListAppendI64(...)
#define MkBufferListAppendBIN(...)
#define MkBufferListAppendI32(...)
#define MkBufferListAppendBUF(...)
#define MkBufferListAppendG(...)
#define MkBufferListCheckOptionFLT(...)
#define MkBufferListCheckOptionI32(...)
#define MkBufferListCheckOptionI64(...)
#define MkBufferListCheckOptionBUF(...)
#define MkBufferListCheckOptionI8(...)
#define MkBufferListCheckOptionI16(...)
#define MkBufferListCheckOptionSTR(...)
#define MkBufferListCheckOptionDBL(...)
#define MkBufferListCheckOption(...)
#define MkBufferListCheckOptionBOL(...)
#define MkBufferListInstances()
#define MkBufferListHandleGet(...)
#define MkBufferListHandleResolve(...)
#define MkBufferListIndexSet(...)
#define MkBufferListIndexGetSTR(...)
#define MkBufferListIndexExtract(...)
#define MkBufferListIndexSetBUF(...)
#define MkBufferListIndexGet(...)
#define MkBufferListIndexSetSTR(...)
#define MkBufferListIndexDelete(...)
#define MkBufferListIndexGetBUF(...)
#define MkBufferListLogSS(...)
#define MkBufferListLog(...)
#define MkBufferListLogSSS(...)
#define MkBufferListLogS(...)
#define MkBufferListReserve(...)
#define MkBufferListCopy(...)
#define MkBufferListSearchC(...)
#define MkBufferListSize(...)
#define MkBufferListMove(...)
#define MkBufferListToBuffer(...)
#define MkBufferListPositionMerge(...)
#define MkBufferListCmp(...)
#define MkBufferListToList(...)
#define MkBufferListToString(...)
#define MkBufferListFileGlob(...)
#define MkBufferListReset(...)
#define MkBufferListSort(...)
#define MkBufferListCreate(...)
#define MkBufferListDup(...)
#define MkBufferListCreateLA(...)
#define MkBufferListMerge(...)
#define MkBufferListDelete(x)
#define MkBufferListCreateTLS(...)
#define MkBufferStreamHandleResolve(...)
#define MkBufferStreamInstances()
#define MkBufferStreamHandleGet(...)
#define MkBufferStreamLog(...)
#define MkBufferStreamPosToStart(...)
#define MkBufferStreamToBFL(...)
#define MkBufferStreamCopy(...)
#define MkBufferStreamToString(...)
#define MkBufferStreamReset(...)
#define MkBufferStreamResetFull(...)
#define MkBufferStreamReadALL(...)
#define MkBufferStreamReadBUF(...)
#define MkBufferStreamReadBFL(...)
#define MkBufferStreamReadFLT(...)
#define MkBufferStreamReadUndo(...)
#define MkBufferStreamReadGetNumItems(...)
#define MkBufferStreamReadI32(...)
#define MkBufferStreamReadBIN(...)
#define MkBufferStreamReadL_START(...)
#define MkBufferStreamReadDBL(...)
#define MkBufferStreamReadI8(...)
#define MkBufferStreamReadGetNextType(...)
#define MkBufferStreamReadI64(...)
#define MkBufferStreamReadBOL(...)
#define MkBufferStreamReadLONG(...)
#define MkBufferStreamReadL_END(...)
#define MkBufferStreamReadSTR(...)
#define MkBufferStreamReadItemExists(...)
#define MkBufferStreamCreate16384(...)
#define MkBufferStreamDup(...)
#define MkBufferStreamCreate(...)
#define MkBufferStreamCreate1024(...)
#define MkBufferStreamDelete(x)
#define MkBufferStreamCreateTLS(...)
#define MkBufferStreamMerge(...)
#define MkBufferStreamCreate64(...)
#define MkBufferStreamCreate256(...)
#define MkBufferStreamWriteI8(...)
#define MkBufferStreamWriteBUF(...)
#define MkBufferStreamWriteL_END(...)
#define MkBufferStreamWriteDBL(...)
#define MkBufferStreamWriteBOL(...)
#define MkBufferStreamWriteL_FLAT(...)
#define MkBufferStreamWriteLONG(...)
#define MkBufferStreamWriteBIN(...)
#define MkBufferStreamWriteBUS_FLAT(...)
#define MkBufferStreamWriteSTR(...)
#define MkBufferStreamWriteI64(...)
#define MkBufferStreamWriteHDL(...)
#define MkBufferStreamWriteBFL(...)
#define MkBufferStreamWriteL_START(...)
#define MkBufferStreamWriteFLT(...)
#define MkBufferStreamWriteI32(...)
#define MkErrorHandleResolve(...)
#define MkErrorHandleGet(...)
#define MkErrorInstances()
#define MkErrorToString(...)
#define MkErrorStackFormat(...)
#define MkErrorPrintln(...)
#define MkErrorCleanup(...)
#define MkErrorCatch(...)
#define MkErrorLog(...)
#define MkErrorStack(...)
#define MkErrorReset(...)
#define MkPanicDEFAULT(...)
#define MkErrorSetE(...)
#define MkErrorRaise(...)
#define MkPanicC(...)
#define MkErrorNoRaise(...)
#define MkErrorSetCONTINUE(...)
#define MkErrorSetCode(...)
#define MkErrorSetEXIT(...)
#define MkErrorSetSOCKET(...)
#define MkErrorSetABORT(...)
#define MkErrorIGNORE()
#define MkErrorDEFAULT()
#define MkErrorPRINT()
#define MkErrorEXIT()
#define MkErrorPANIC()
#define MkErrorDelete(x)
#define MkErrorCopy(...)
#define MkErrorDup(...)
#define MkBinaryDup(...)
#define MkBinaryLog(...)
MkBoolE
the internal boolean …
MkNativeIsE
define if data is string or little or big endian …
#define MkString2U32(...)
#define MkStringDup(...)
#define MkString2U16(...)
#define MkStringLog(...)
#define MkString2BOOL(...)
#define MkString2LONG(...)
void(* MkMarkF)(MK_RT mkrt, MK_PTR data)
prototype for a Garbage-Collection mark function …
#define MkLogFileHandleResolve(...)
#define MkLogFileInstances()
#define MkLogFileHandleGet(...)
#define MkLogFileClose(x)
#define MkLogFileOpen(...)
#define MkLogFileGetFile(...)
#define MkLogFileWriteC(...)
void(* MkSelfDeleteF)(MK_RT mkrt, MK_PTR self, MK_PTR const env)
void(* MkSelfUnlinkF)(MK_RT mkrt, MK_PTR self, MK_PTR const env)
MK_PTR(* MkSelfCreateF)(MK_RT mkrt, MK_OBJ const obj, MK_PTR const env)
#define MkObjectHandleResolve(...)
#define MkObjectHandleDelete(...)
#define MkObjectInstances()
#define MkObjectHandleDeleteByNetHdl(...)
#define MkDbgDump(...)
#define MkDbgM(...)
#define MkDbgLogC(...)
#define MkDbgL(...)
#define MkDbgO(...)
#define MkDbgSTACK(...)
#define MkObjectLogLong(...)
#define MkObjectLogShort(...)
#define MkObjectLog(...)
#define MkLogC(...)
#define MkLogHEX(...)
#define MkObjectLogType(...)
#define MkObjectToNameOfClass(...)
#define MkObjectErrorCatch(...)
#define MkObjectToName(...)
#define MkObjectToString(...)
#define MkObjectToError(...)
#define MkObjectToNameOfType(...)
#define MkSelfNew(...)
#define MkRefDecrWithUnlinkSelf(...)
#define MkRefDecrWithoutSelf(...)
#define MkSelfUnlink(...)
#define MkSelfCreate(...)
#define MkObjReset(...)
#define MkSelfDelete(...)
#define MkSelfDeleteForce(...)
#define MkRefCidN()
#define MkRefDecr(...)
#define MkObjCopy(...)
#define MkObjCreate(...)
#define MkObjectDispose(x)
#define MkObjectDeleteCallbackCleanup(...)
#define MkObjDup2(...)
void(* MkObjectDeleteFreeF)(MkObjectDeleteFreeF_ARGS)
#define MkObjectDelete(x)
#define MkObjDup(...)
#define MkObjectDeleteCallbackSetup(...)
enum MkErrorE(* MkObjectDeleteCallF)(MK_RT mkrt, MK_OBJN const obj, MK_STRN const typeName, MK_HDL const typeHdl, MK_HDL const objHdl, MK_CBP const __data__)
static callback to delete an obj …
#define MkObjMerge(...)
#define MkRuntimeHandleResolve(...)
#define MkRuntimeHandleGet(...)
#define MkRuntimeInstances()
#define MkRuntimeLogTargetReset()
#define MkRuntimeLogTargetSet(...)
#define MkRuntimeNoDecoSet(...)
#define MkRuntimeIsSilentSet(...)
#define MkRuntimeLog0(...)
MkErrorE
→ C-API: MkErrorE → C-API: MkErrorE
MkIdSE
→ C-API: MkIdSE → C-API: MkIdSE
MkTimeoutE
→ C-API: MkTimeoutE → C-API: MkTimeoutE
MkTypeE
→ C-API: MkTypeE → C-API: MkTypeE
The data-type to store and handle the error-condition …
the protect is used to "protect" data set by pAllocCreate if the new object is later initialized with...
object header …
The MkRuntimeS provide a per-thread environment for csmkkernel …