X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=blobdiff_plain;f=bundles%2Forg.eclipse.swt.win32.win32.x86_64%2Flibrary%2Fcom.h;fp=bundles%2Forg.eclipse.swt.win32.win32.x86_64%2Flibrary%2Fcom.h;h=c6784f9e60e1ad7cc37e0e49c667974916c024ff;hb=6b98970d0458754dd67f789afbd0a39e1e7ac6eb;hp=0000000000000000000000000000000000000000;hpb=56a61575ce0d27b340cb12438c8a7f303842095e;p=simantics%2Fplatform.git diff --git a/bundles/org.eclipse.swt.win32.win32.x86_64/library/com.h b/bundles/org.eclipse.swt.win32.win32.x86_64/library/com.h new file mode 100644 index 000000000..c6784f9e6 --- /dev/null +++ b/bundles/org.eclipse.swt.win32.win32.x86_64/library/com.h @@ -0,0 +1,30 @@ +/******************************************************************************* + * Copyright (c) 2000, 2011 IBM Corporation and others. + * + * This program and the accompanying materials + * are made available under the terms of the Eclipse Public License 2.0 + * which accompanies this distribution, and is available at + * https://www.eclipse.org/legal/epl-2.0/ + * + * SPDX-License-Identifier: EPL-2.0 + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ + +#ifndef INC_com_H +#define INC_com_H + +#include "os_structs.h" +#include "com_custom.h" + +#define COM_LOAD_FUNCTION LOAD_FUNCTION + +#define COM_NATIVE_ENTER_TRY(env, that, func) \ + COM_NATIVE_ENTER(env, that, func); \ + NATIVE_TRY(env, that, func); +#define COM_NATIVE_EXIT_CATCH(env, that, func) \ + NATIVE_CATCH(env, that, func); \ + COM_NATIVE_EXIT(env, that, func); + +#endif /* INC_com_H */