]> gerrit.simantics Code Review - simantics/platform.git/blob - bundles/org.eclipse.swt.win32.win32.x86_64/library/com.h
c6784f9e60e1ad7cc37e0e49c667974916c024ff
[simantics/platform.git] / bundles / org.eclipse.swt.win32.win32.x86_64 / library / com.h
1 /*******************************************************************************
2  * Copyright (c) 2000, 2011 IBM Corporation and others.
3  *
4  * This program and the accompanying materials
5  * are made available under the terms of the Eclipse Public License 2.0
6  * which accompanies this distribution, and is available at
7  * https://www.eclipse.org/legal/epl-2.0/
8  *
9  * SPDX-License-Identifier: EPL-2.0
10  * 
11  * Contributors:
12  *     IBM Corporation - initial API and implementation
13  *******************************************************************************/
14
15 #ifndef INC_com_H
16 #define INC_com_H
17
18 #include "os_structs.h"
19 #include "com_custom.h"
20
21 #define COM_LOAD_FUNCTION LOAD_FUNCTION
22
23 #define COM_NATIVE_ENTER_TRY(env, that, func) \
24         COM_NATIVE_ENTER(env, that, func); \
25         NATIVE_TRY(env, that, func);
26 #define COM_NATIVE_EXIT_CATCH(env, that, func) \
27         NATIVE_CATCH(env, that, func); \
28         COM_NATIVE_EXIT(env, that, func);
29
30 #endif /* INC_com_H */