예제 #1
0
파일: Chain.cs 프로젝트: k-nuth/cs-api
        private void GetLastHeight(Action <ErrorCode, UInt64> handler)
        {
            GCHandle handlerHandle = GCHandle.Alloc(handler);
            IntPtr   handlerPtr    = (IntPtr)handlerHandle;

            ChainNative.kth_chain_async_last_height(nativeInstance_, handlerPtr, internalGetLastHeightHandler_);
        }