Skip to content

Instantly share code, notes, and snippets.

@ifshuaishuai
Created March 26, 2019 14:26
Show Gist options
  • Save ifshuaishuai/01561ed6fa92c3aafb5b0cc24c6b2b7e to your computer and use it in GitHub Desktop.
Save ifshuaishuai/01561ed6fa92c3aafb5b0cc24c6b2b7e to your computer and use it in GitHub Desktop.
[AOT.MonoPInvokeCallback(typeof(ExceptionDelegate))]
static void SetPendingApplicationException(string message) {
SWIGPendingException.Set(new System.ApplicationException(message, SWIGPendingException.Retrieve()));
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment