comparison dw.h @ 2000:77e43d71eaa7

Changes to allow mixing C and C++ when including dw.h. Win: Fixes to the last commit for embedding chromium based Edge.
author bsmith@81767d24-ef19-dc11-ae90-00e081727c95
date Thu, 31 Oct 2019 08:26:58 +0000
parents d83a86f5fe7f
children a17cc1958369
comparison
equal deleted inserted replaced
1999:4e808c4cadfb 2000:77e43d71eaa7
1 /* $Id$ */ 1 /* $Id$ */
2 2
3 #ifndef _H_DW 3 #ifndef _H_DW
4 #define _H_DW 4 #define _H_DW
5
6 #ifdef __cplusplus
7 extern "C" {
8 #endif
5 9
6 /* Dynamic Windows version numbers */ 10 /* Dynamic Windows version numbers */
7 #define DW_MAJOR_VERSION 3 11 #define DW_MAJOR_VERSION 3
8 #define DW_MINOR_VERSION 0 12 #define DW_MINOR_VERSION 0
9 #define DW_SUB_VERSION 0 13 #define DW_SUB_VERSION 0
1816 char * API dw_wchar_to_utf8(wchar_t *wstring); 1820 char * API dw_wchar_to_utf8(wchar_t *wstring);
1817 /* Exported for language bindings */ 1821 /* Exported for language bindings */
1818 void API _dw_init_thread(void); 1822 void API _dw_init_thread(void);
1819 void API _dw_deinit_thread(void); 1823 void API _dw_deinit_thread(void);
1820 1824
1821 #endif 1825 #ifdef __cplusplus
1826 }
1827 #endif
1828
1829 #endif