16using System.Reflection;
17using System.Runtime.InteropServices;
18using System.Runtime.CompilerServices;
19using System.Collections.Generic;
20using System.Threading;
28 public partial class Sq3FileC
33 private readonly
static ConstructorInfo ctor =
getCtor(typeof(Sq3FileC));
34 private readonly
static ThreadLocal<Sq3FileC> MK_NULL =
new ThreadLocal<Sq3FileC>(() => {
42 private static Sq3FileC Sq3FileC_ObjCreate (IntPtr
hdl) {
46 private static IntPtr Sq3FileC_SelfCreate (IntPtr
mkrt, IntPtr obj, IntPtr env) {
50 private static void Sq3FileC_SelfUnlink (IntPtr
mkrt, IntPtr
self, IntPtr env) {
54 internal static void SetupThreadFILE (IntPtr
mkrt) {
55 Sq3.Sq3CsTypeUpdate(
mkrt, Sq3CsTypeLookupE.FILE, Sq3FileC_SelfCreate, Sq3FileC_SelfUnlink);
58 #if !META_STATIC_OVERWRITE
63 SetupThreadFILE(IntPtr.Zero);
69 internal Sq3FileC (IntPtr objP) : base(objP) {
76 public partial class Sq3FileC {
86 IntPtr __retVal__L = Sq3.Sq3FileHandleResolve(IntPtr.Zero, netHdl);
98 public partial class Sq3FileC {
108 IntPtr __retVal__L = Sq3.Sq3FileNext(
hdl);
114 IntPtr __retVal__L = Sq3.Sq3FilePrev(
hdl);
122 IntPtr __retVal__L = Sq3.Sq3FileInstances(IntPtr.Zero);
130 public partial class Sq3FileC {
140 IntPtr __retVal__L = Sq3.Sq3FileGetNull();
158 IntPtr X_cstr = Marshal.StringToHGlobalAnsi(X);
159 IntPtr __retVal__L = Sq3.Sq3FileDatabaseObject(X_cstr);
160 Marshal.FreeHGlobal(X_cstr);
161 if (__retVal__L == IntPtr.Zero) {
164 return Sq3FileC.Sq3FileC_ObjCreate(__retVal__L);
static object atomObjNew(Type type, ConstructorInfo ctor, IntPtr obj)
static object atomObjCreate(Type type, ConstructorInfo ctor, IntPtr obj)
static void atomSelfUnlink(IntPtr self, IntPtr env)
static object atomSelfNull(ConstructorInfo ctor)
static ConstructorInfo getCtor(Type type)
static IntPtr atomSelfCreate(ConstructorInfo ctor, IntPtr obj, IntPtr env)
Sq3FileC - the class known as sq3file or File defined by Sq3FileS …
static Sq3FileC Sq3FileC_ObjNew(IntPtr hdl)
new static Sq3FileC HandleResolve(Int32 netHdl)
C#: [static] Sq3FileC Sq3FileC.HandleResolve(Int32 netHdl) → C-API Handle-Resolve-Slot - return ...
new Sq3FileC Prev()
C#: Sq3FileC file.Prev() → C-API get previous instance from linked-list of Sq3FileS type
new static Sq3FileC Instances()
C#: [static] Sq3FileC Sq3FileC.Instances() → C-API get head-instance from linked-list of Sq3File...
new Sq3FileC Next()
C#: Sq3FileC file.Next() → C-API get next instance from linked-list of Sq3FileS type
new static Sq3FileC GetNull()
C#: [static] Sq3FileC Sq3FileC.GetNull() → C-API Null-Slot - return a Sq3FileC typed NULL instan...
static Sq3FileC DatabaseObject(string X)
C#: [constructor,static] Sq3FileC Sq3FileC.DatabaseObject(string X) → C-API Database File Corres...
static SQ3_LITE Sq3Lite(MK_MNG mng)
cast a unknown-object into an Sq3LiteS pointer or NULL if not possible