Merge pull request #556 from krOoze/fix_len_math
Fix remaining len latexmath confusion
This commit is contained in:
commit
b02562cdc9
|
@ -109,7 +109,7 @@ Types = element types {
|
||||||
# things, separated by commas (one for each array indirection): another
|
# things, separated by commas (one for each array indirection): another
|
||||||
# member of that struct, 'null-terminated' for a string, '1' to indicate it's
|
# member of that struct, 'null-terminated' for a string, '1' to indicate it's
|
||||||
# just a pointer (used for nested pointers), or a latex equation (prefixed with
|
# just a pointer (used for nested pointers), or a latex equation (prefixed with
|
||||||
# 'latex:')
|
# 'latexmath:')
|
||||||
# externsync - denotes that the member should be externally synchronized
|
# externsync - denotes that the member should be externally synchronized
|
||||||
# when accessed by Vulkan
|
# when accessed by Vulkan
|
||||||
# optional - whether this value can be omitted by providing NULL (for
|
# optional - whether this value can be omitted by providing NULL (for
|
||||||
|
@ -262,7 +262,7 @@ Commands = element commands {
|
||||||
# things, separated by commas (one for each array indirection): another
|
# things, separated by commas (one for each array indirection): another
|
||||||
# member of that struct, 'null-terminated' for a string, '1' to indicate it's
|
# member of that struct, 'null-terminated' for a string, '1' to indicate it's
|
||||||
# just a pointer (used for nested pointers), or a latex equation (prefixed with
|
# just a pointer (used for nested pointers), or a latex equation (prefixed with
|
||||||
# 'latex:')
|
# 'latexmath:')
|
||||||
# externsync - denotes that the member should be externally synchronized
|
# externsync - denotes that the member should be externally synchronized
|
||||||
# when accessed by Vulkan
|
# when accessed by Vulkan
|
||||||
# optional - whether this value can be omitted by providing NULL (for
|
# optional - whether this value can be omitted by providing NULL (for
|
||||||
|
|
|
@ -367,7 +367,7 @@ class ValidityOutputGenerator(OutputGenerator):
|
||||||
else:
|
else:
|
||||||
asciidoc += 'pointers to arrays of '
|
asciidoc += 'pointers to arrays of '
|
||||||
# Handle equations, which are currently denoted with latex
|
# Handle equations, which are currently denoted with latex
|
||||||
if 'latex:' in length:
|
if 'latexmath:' in length:
|
||||||
asciidoc += length
|
asciidoc += length
|
||||||
else:
|
else:
|
||||||
asciidoc += self.makeParameterName(length)
|
asciidoc += self.makeParameterName(length)
|
||||||
|
|
Loading…
Reference in New Issue