예제 #1
1
 public FuncDef(short nArg, byte iPrefEnc, FUNC iflags, object pUserData, FuncDef pNext, dxFunc xFunc, dxStep xStep, dxFinal xFinalize, string zName, FuncDef pHash, FuncDestructor pDestructor)
 {
     this.nArg = nArg;
     this.iPrefEnc = iPrefEnc;
     this.flags = iflags;
     this.pUserData = pUserData;
     this.pNext = pNext;
     this.xFunc = xFunc;
     this.xStep = xStep;
     this.xFinalize = xFinalize;
     this.zName = zName;
     this.pHash = pHash;
     this.pDestructor = pDestructor;
 }
예제 #2
0
 public FuncDef(string zName, byte iPrefEnc, short nArg, int iArg, FUNC iflags, dxFunc xFunc)
 {
     this.nArg = nArg;
     this.iPrefEnc = iPrefEnc;
     this.flags = iflags;
     this.pUserData = iArg;
     this.pNext = null;
     this.xFunc = xFunc;
     this.xStep = null;
     this.xFinalize = null;
     this.zName = zName;
 }
예제 #3
0
 public FuncDef(short nArg, byte iPrefEnc, FUNC iflags, object pUserData, FuncDef pNext, dxFunc xFunc, dxStep xStep, dxFinal xFinalize, string zName, FuncDef pHash, FuncDestructor pDestructor)
 {
     this.nArg        = nArg;
     this.iPrefEnc    = iPrefEnc;
     this.flags       = iflags;
     this.pUserData   = pUserData;
     this.pNext       = pNext;
     this.xFunc       = xFunc;
     this.xStep       = xStep;
     this.xFinalize   = xFinalize;
     this.zName       = zName;
     this.pHash       = pHash;
     this.pDestructor = pDestructor;
 }
예제 #4
0
        public FuncDef Copy()
        {
            var c = new FuncDef();

            c.nArg        = nArg;
            c.iPrefEnc    = iPrefEnc;
            c.flags       = flags;
            c.pUserData   = pUserData;
            c.pNext       = pNext;
            c.xFunc       = xFunc;
            c.xStep       = xStep;
            c.xFinalize   = xFinalize;
            c.zName       = zName;
            c.pHash       = pHash;
            c.pDestructor = pDestructor;
            return(c);
        }
예제 #5
0
 public FuncDef(string zName, byte iPrefEnc, short nArg, object arg, dxFunc xFunc, FUNC flags)
 {
     this.nArg = nArg;
     this.iPrefEnc = iPrefEnc;
     this.flags = flags;
     this.pUserData = arg;
     this.pNext = null;
     this.xFunc = xFunc;
     this.xStep = null;
     this.xFinalize = null;
     this.zName = zName;
 }
예제 #6
0
 public FuncDef Copy()
 {
     var c = new FuncDef();
     c.nArg = nArg;
     c.iPrefEnc = iPrefEnc;
     c.flags = flags;
     c.pUserData = pUserData;
     c.pNext = pNext;
     c.xFunc = xFunc;
     c.xStep = xStep;
     c.xFinalize = xFinalize;
     c.zName = zName;
     c.pHash = pHash;
     c.pDestructor = pDestructor;
     return c;
 }