Ruby
4.1.0dev (2026-05-21 revision 81c68150a39cb24ef321bd7fee2b14bb80a9db00)
prism
compiler
flex_array.h
Go to the documentation of this file.
1
4
#ifndef PRISM_COMPILER_FLEX_ARRAY_H
5
#define PRISM_COMPILER_FLEX_ARRAY_H
6
11
#if defined(__STDC_VERSION__) && (__STDC_VERSION__ >= 199901L)
12
#define PM_FLEX_ARRAY_LENGTH
/* data[] */
13
#elif defined(__GNUC__) && !defined(__STRICT_ANSI__)
14
#define PM_FLEX_ARRAY_LENGTH 0
/* data[0] */
15
#else
16
#define PM_FLEX_ARRAY_LENGTH 1
/* data[1] */
17
#endif
18
19
#endif
Generated by
1.9.8