diff options
author | Justin Berger <j.david.berger@gmail.com> | 2018-03-30 09:50:24 -0600 |
---|---|---|
committer | Justin Berger <j.david.berger@gmail.com> | 2018-03-30 09:50:24 -0600 |
commit | 52bcccaea5de63a4de4b3df17236507455776409 (patch) | |
tree | 1d39c68cd0fca2aab2ceeacc3916435ef96a7536 /include | |
parent | f6babcbe142b335aba09d9c9798ac5bd31f25144 (diff) | |
download | libsurvive-52bcccaea5de63a4de4b3df17236507455776409.tar.gz libsurvive-52bcccaea5de63a4de4b3df17236507455776409.tar.bz2 |
Added accessors for language bindings
Diffstat (limited to 'include')
-rw-r--r-- | include/libsurvive/survive.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/libsurvive/survive.h b/include/libsurvive/survive.h index 85078f7..ed43ddc 100644 --- a/include/libsurvive/survive.h +++ b/include/libsurvive/survive.h @@ -119,6 +119,11 @@ struct SurviveObject int tsl; }; +// These exports are mostly for language binding against +SURVIVE_EXPORT const char *survive_object_codename(SurviveObject *so); +SURVIVE_EXPORT int8_t survive_object_sensor_ct(SurviveObject *so); +SURVIVE_EXPORT const FLT *survive_object_sensor_locations(SurviveObject *so); +SURVIVE_EXPORT const FLT *survive_object_sensor_normals(SurviveObject *so); struct BaseStationData { |