Example #1
0
        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;
        }
Example #2
0
        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;
        }