diff options
author | Tom Rondeau <trondeau@vt.edu> | 2012-12-14 13:57:29 -0500 |
---|---|---|
committer | Tom Rondeau <trondeau@vt.edu> | 2012-12-14 13:57:29 -0500 |
commit | 3910c6da3c62232e6593e5fcfe53f5ece933a294 (patch) | |
tree | d3cc80bae32ced851c83f8393d5fea3b57020464 /grc/blocks | |
parent | 75b01cc4f55c38dfe5bb329c23df591e43cf4c66 (diff) |
core: adding itemsize key to metadata header to allow for vectorized items.
This also simplifies some code in the source since we're told exactly what the items size is and don't have to infer.
Also adds an example using vector items.
Diffstat (limited to 'grc/blocks')
-rw-r--r-- | grc/blocks/gr_file_meta_source.xml | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/grc/blocks/gr_file_meta_source.xml b/grc/blocks/gr_file_meta_source.xml index 9e5fcb0a21..8f667961e4 100644 --- a/grc/blocks/gr_file_meta_source.xml +++ b/grc/blocks/gr_file_meta_source.xml @@ -80,9 +80,15 @@ <value></value> <type>file_open</type> </param> + <param> + <name>Vec Length</name> + <key>vlen</key> + <value>1</value> + <type>int</type> + </param> <source> <name>out</name> <type>$type</type> - <vlen>1</vlen> + <vlen>$vlen</vlen> </source> </block> |