We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
_Generic
1 parent c012a6a commit 506f93cCopy full SHA for 506f93c
system/include/emscripten/em_asm.h
@@ -66,13 +66,11 @@ void emscripten_asm_const_async_on_main_thread(
66
67
// We can use the generic selection C11 feature (that clang supports pre-C11
68
// as an extension) to emulate function overloading in C.
69
-// All pointer types should go through the default case.
+// All other types, including *all* pointer types go through the default case.
70
#define _EM_ASM_SIG_CHAR(x) _Generic((x), \
71
float: 'f', \
72
double: 'd', \
73
- int: 'i', \
74
long long: 'j', \
75
- unsigned: 'i', \
76
default: 'i')
77
78
// This indirection is needed to allow us to concatenate computed results, e.g.
0 commit comments