diff Applications/StoneWebViewer/WebAssembly/ParseWebAssemblyExports.py @ 2001:e943a84da9ac

creation of text annotations
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 02 Nov 2022 14:56:35 +0100
parents 7053b8a0aaec
children 07964689cb0b
line wrap: on
line diff
--- a/Applications/StoneWebViewer/WebAssembly/ParseWebAssemblyExports.py	Wed Nov 02 13:52:14 2022 +0100
+++ b/Applications/StoneWebViewer/WebAssembly/ParseWebAssemblyExports.py	Wed Nov 02 14:56:35 2022 +0100
@@ -174,6 +174,8 @@
                         arg['type'] = "'int'"
                     elif argType == 'const char *':
                         arg['type'] = "'string'"
+                    elif argType == 'double':
+                        arg['type'] = "'double'"
                     else:
                         raise Exception('Unknown type for argument "%s" in function "%s()": %s' %
                                         (child.displayname, node.spelling, argType))