示例#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;
 }