Esempio n. 1
0
        public string[] RemoteSupportedReplays()
        {
            IntPtr mem     = CustomMarshal.Alloc(typeof(templated_array));
            bool   success = RemoteRenderer_RemoteSupportedReplays(m_Real, mem);

            string[] ret = null;

            if (success)
            {
                ret = CustomMarshal.TemplatedArrayToStringArray(mem, true);
            }

            CustomMarshal.Free(mem);

            return(ret);
        }
Esempio n. 2
0
        public string[] GetResolve(UInt64[] callstack)
        {
            IntPtr mem = CustomMarshal.Alloc(typeof(templated_array));

            UInt32 len = (UInt32)callstack.Length;

            bool success = ReplayRenderer_GetResolve(m_Real, callstack, len, mem);

            string[] ret = null;

            if (success)
            {
                ret = CustomMarshal.TemplatedArrayToStringArray(mem, true);
            }

            CustomMarshal.Free(mem);

            return(ret);
        }