You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

12 lines
392 B

define: DUK_USE_FLEX_ONESIZE
introduced: 1.0.0
default: false
tags:
- portability
description: >
Use a single element array to define variable size structures. This is the
most portable alternative: zero-size arrays are not allowed by all compilers
and flexible array member ("char arr[]") is defined in C99.
# FIXME: currently unused, remove or mark unused so doesn't get emitted?