public virtual void getGSCookie_wrapper(IntPtr _this, out IntPtr exception, GSCookie* pCookieVal, GSCookie** ppCookieVal) { exception = IntPtr.Zero; try { getGSCookie(pCookieVal, ppCookieVal); return; } catch (Exception ex) { exception = AllocException(ex); } }
private void getGSCookie(IntPtr _this, GSCookie* pCookieVal, GSCookie** ppCookieVal) { // TODO: fully implement GS cookies if (pCookieVal != null) { *pCookieVal = (GSCookie)0x216D6F6D202C6948; *ppCookieVal = null; } else { throw new NotImplementedException("getGSCookie"); } }
static void _getGSCookie(IntPtr thisHandle, IntPtr* ppException, GSCookie* pCookieVal, GSCookie** ppCookieVal) { var _this = GetThis(thisHandle); try { _this.getGSCookie(pCookieVal, ppCookieVal); } catch (Exception ex) { *ppException = _this.AllocException(ex); } }