Example #1
0
        public IntPtr ContextAlloc()
        {
            var err = UcNative.UcContextAlloc(Handle, out var context);

            if (err != UcErr.UC_ERR_OK)
            {
                throw new UcException(err);
            }

            return(context);
        }