mirror of
https://github.com/Unidata/netcdf-c.git
synced 2024-12-27 08:49:16 +08:00
3a74ee9a94
or seq fields is not a well-defined concept. So for now, I am disallowing them. Required updating a number of test files in dap4_test. This is tagged by the line #undef ALLOWFIELDMAPS in ./libdap4/ncd4types.h. This should affect only dap4 and nothing else.
24 lines
357 B
Plaintext
24 lines
357 B
Plaintext
netcdf test_struct_nested {
|
|
types:
|
|
compound x_field1_t {
|
|
int x ;
|
|
int y ;
|
|
}; // x_field1_t
|
|
compound x_field2_t {
|
|
int x ;
|
|
int y ;
|
|
}; // x_field2_t
|
|
compound x_t {
|
|
x_field1_t field1 ;
|
|
x_field2_t field2 ;
|
|
}; // x_t
|
|
variables:
|
|
x_t x ;
|
|
|
|
// global attributes:
|
|
:_DAP4_Little_Endian = 1UB ;
|
|
data:
|
|
|
|
x = {{1, -2}, {255, 90}} ;
|
|
}
|