Make nasal/iolib.h available to flightgear (for io.open)
This commit is contained in:
parent
37a963da92
commit
a67a984d29
@ -4,6 +4,7 @@ include (SimGearComponent)
|
||||
set(HEADERS
|
||||
naref.h
|
||||
nasal.h
|
||||
iolib.h
|
||||
)
|
||||
|
||||
set(SOURCES
|
||||
@ -26,8 +27,7 @@ set(SOURCES
|
||||
vector.c
|
||||
code.h
|
||||
data.h
|
||||
iolib.h
|
||||
parse.h
|
||||
)
|
||||
|
||||
simgear_component(nasal nasal "${SOURCES}" "${HEADERS}")
|
||||
simgear_component(nasal nasal "${SOURCES}" "${HEADERS}")
|
||||
|
@ -1,5 +1,8 @@
|
||||
#ifndef _IOLIB_H
|
||||
#define _IOLIB_H
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#include "nasal.h"
|
||||
|
||||
@ -33,5 +36,7 @@ extern struct naIOType naStdIOType;
|
||||
|
||||
// Defined in iolib.c, there is no "library" header to put this in
|
||||
naRef naIOGhost(naContext c, FILE* f);
|
||||
|
||||
#ifdef __cplusplus
|
||||
} // extern "C"
|
||||
#endif
|
||||
#endif // _IOLIB_H
|
||||
|
Loading…
Reference in New Issue
Block a user