diff options
author | Keith Packard <keithp@keithp.com> | 2017-12-10 00:02:00 -0800 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2017-12-10 00:02:00 -0800 |
commit | 17fe6de833cccb6d43d0ac0ed84a4faaa3463a09 (patch) | |
tree | c51ea265efd63b11473eaae7c816ce067b98df99 /src/scheme/ao_scheme_poly.c | |
parent | 0d3365e2c04793cd8432c30a66881f53385a2e60 (diff) |
altos/scheme: Add vectors
Constant time and smaller can be a feature.
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/scheme/ao_scheme_poly.c')
-rw-r--r-- | src/scheme/ao_scheme_poly.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/scheme/ao_scheme_poly.c b/src/scheme/ao_scheme_poly.c index d726321c..553585db 100644 --- a/src/scheme/ao_scheme_poly.c +++ b/src/scheme/ao_scheme_poly.c @@ -68,6 +68,10 @@ static const struct ao_scheme_funcs ao_scheme_funcs[AO_SCHEME_NUM_TYPE] = { .write = ao_scheme_float_write, .display = ao_scheme_float_write, }, + [AO_SCHEME_VECTOR] = { + .write = ao_scheme_vector_write, + .display = ao_scheme_vector_display + }, }; static const struct ao_scheme_funcs * |