Add extern "C" wrappers.
This commit is contained in:
parent
25290c4467
commit
fe7321e91e
1 changed files with 8 additions and 0 deletions
|
@ -9,8 +9,16 @@
|
||||||
#include <FDM/LaRCsim/ls_generic.h>
|
#include <FDM/LaRCsim/ls_generic.h>
|
||||||
#include <FDM/LaRCsim/ls_constants.h> /* RAD_TO_DEG, DEG_TO_RAD*/
|
#include <FDM/LaRCsim/ls_constants.h> /* RAD_TO_DEG, DEG_TO_RAD*/
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
extern "C" {
|
||||||
|
#endif
|
||||||
|
|
||||||
extern double Simtime;
|
extern double Simtime;
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
void uiuc_auto_pilot(double dt);
|
void uiuc_auto_pilot(double dt);
|
||||||
|
|
||||||
#endif // _AUTO_PILOT_H_
|
#endif // _AUTO_PILOT_H_
|
||||||
|
|
Loading…
Add table
Reference in a new issue