Mercurial > dwindows
comparison gtk4/dw.c @ 2311:f6a6ea6b28fe
Fix a minor typo.
author | bsmith@81767d24-ef19-dc11-ae90-00e081727c95 |
---|---|
date | Wed, 10 Feb 2021 10:26:31 +0000 |
parents | 5df7b1431d1a |
children | ada8f7610df0 |
comparison
equal
deleted
inserted
replaced
2310:5df7b1431d1a | 2311:f6a6ea6b28fe |
---|---|
46 | 46 |
47 /* Macros to encapsulate running functions on the main thread | 47 /* Macros to encapsulate running functions on the main thread |
48 * #define _DW_SINGLE_THREADED to disable thread safety encapsulation. | 48 * #define _DW_SINGLE_THREADED to disable thread safety encapsulation. |
49 * Parameters converted to a pointer array: | 49 * Parameters converted to a pointer array: |
50 * [0] Pointer to the thread's event semaphore | 50 * [0] Pointer to the thread's event semaphore |
51 * [1] Pointer to the funtion's return value | 51 * [1] Pointer to the function's return value |
52 * [2] Pointer to function parameter 1 | 52 * [2] Pointer to function parameter 1 |
53 * ... | 53 * ... |
54 */ | 54 */ |
55 #ifndef _DW_SINGLE_THREADED | 55 #ifndef _DW_SINGLE_THREADED |
56 #define DW_FUNCTION_DEFINITION(func, rettype, ...) gboolean _##func(void **_args); \ | 56 #define DW_FUNCTION_DEFINITION(func, rettype, ...) gboolean _##func(void **_args); \ |