diff options
author | dpeter99 <dpeter99@gmail.com> | 2018-04-01 17:36:08 +0200 |
---|---|---|
committer | Justin Berger <j.david.berger@gmail.com> | 2018-04-02 00:11:42 -0600 |
commit | ee3160032cd6a609a490be011019b323fe1c0c02 (patch) | |
tree | 101a9d30bfe5677756237c90c8a7f3dccc780d04 /include | |
parent | cf4c2c50e75e6b21d7aa65211031417619e4dacd (diff) | |
download | libsurvive-ee3160032cd6a609a490be011019b323fe1c0c02.tar.gz libsurvive-ee3160032cd6a609a490be011019b323fe1c0c02.tar.bz2 |
Added new accesors (WIP)
Diffstat (limited to 'include')
-rw-r--r-- | include/libsurvive/survive.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/libsurvive/survive.h b/include/libsurvive/survive.h index 7248b1c..8a4183e 100644 --- a/include/libsurvive/survive.h +++ b/include/libsurvive/survive.h @@ -120,6 +120,13 @@ struct SurviveObject { // These exports are mostly for language binding against SURVIVE_EXPORT const char *survive_object_codename(SurviveObject *so); + +SURVIVE_EXPORT const char *survive_object_drivername(SurviveObject *so); +SURVIVE_EXPORT const int8_t *survive_object_charge(SurviveObject *so); +SURVIVE_EXPORT const bool *survive_object_charging(SurviveObject *so); + +SURVIVE_EXPORT const SurvivePose *survive_object_pose(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); |