The open source OpenXR runtime
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

tracking: Predeclare struct instead of including cJSON in header

+3 -3
+3 -3
src/xrt/auxiliary/tracking/t_tracking.h
··· 13 13 14 14 #include "xrt/xrt_frame.h" 15 15 #include "util/u_misc.h" 16 - #include "cjson/cJSON.h" 17 16 18 17 #include <stdio.h> 19 18 ··· 34 33 * 35 34 */ 36 35 36 + typedef struct cJSON cJSON; 37 37 struct xrt_slam_sinks; 38 38 struct xrt_tracked_psmv; 39 39 struct xrt_tracked_psvr; ··· 503 503 t_calibration_gui_params_load_or_default(struct t_calibration_params *p); 504 504 505 505 void 506 - t_calibration_gui_params_to_json(struct cJSON **out_json, struct t_calibration_params *p); 506 + t_calibration_gui_params_to_json(cJSON **out_json, struct t_calibration_params *p); 507 507 508 508 void 509 - t_calibration_gui_params_parse_from_json(const struct cJSON *params, struct t_calibration_params *p); 509 + t_calibration_gui_params_parse_from_json(const cJSON *params, struct t_calibration_params *p); 510 510 511 511 /*! 512 512 * @brief Create the camera calibration frame sink.