コード例 #1
0
ファイル: Egal.cs プロジェクト: omaribrahim4/SDC
        private int   refcount;         /**< client should not update this directly */

        // constructor
        public ccn_closure(ccn_handler cb, IntPtr pdata, int idata)
        {
            p        = cb;
            data     = pdata;
            intdata  = idata;
            refcount = 0;
        }
コード例 #2
0
ファイル: Egal.cs プロジェクト: named-data/ndn-mog
        private int refcount; /**< client should not update this directly */

        #region Constructors

        // constructor
        public ccn_closure(ccn_handler cb, IntPtr pdata, int idata)
        {
            p = cb;
            data = pdata;
            intdata = idata;
            refcount = 0;
        }