private rtFunction(int id, bool ismethod, int objid) : base(RunTimeDataType.rt_function)
        {
            _functionid    = id; _bindScope = null;
            this._ismethod = ismethod;
            _objid         = objid;

            //需要保证所有函数对象一致,因此会被拷贝传下去
            wapperContainer = new WapperContainer();

            objHandle = null;
        }
        public void CopyFrom(rtFunction right)
        {
            _objid        = right._objid;
            _functionid   = right._functionid;
            _bindScope    = right._bindScope;
            _ismethod     = right._ismethod;
            _this_pointer = right._this_pointer;

            objHandle       = right.objHandle;
            wapperContainer = right.wapperContainer;
        }
        public void Clear()
        {
            //_objid = -1;
            //_functionid = -1;
            //_ismethod = false; //值类型无需清理

            wapperContainer = null;

            _bindScope    = null;
            _this_pointer = null;
            objHandle     = null;
        }