예제 #1
0
파일: GvHook.cs 프로젝트: pr1m3c0d3/Fusee
 internal static HandleRef getCPtr(GvHook obj) {
   return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
 }
예제 #2
0
 public bool RegisterHook(GvHook hook, SWIGTYPE_p_void user) {
   bool ret = C4dApiPINVOKE.GvWorld_RegisterHook(swigCPtr, GvHook.getCPtr(hook), SWIGTYPE_p_void.getCPtr(user));
   if (C4dApiPINVOKE.SWIGPendingException.Pending) throw C4dApiPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }