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_constants.h> /* RAD_TO_DEG, DEG_TO_RAD*/
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
extern double Simtime;
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
void uiuc_auto_pilot(double dt);
|
||||
|
||||
#endif // _AUTO_PILOT_H_
|
||||
|
|
Loading…
Reference in a new issue