Revision 7de0cc90 core/inc/aos_iostream.h
core/inc/aos_iostream.h | ||
---|---|---|
142 | 142 |
/* EXTERN DECLARATIONS */ |
143 | 143 |
/******************************************************************************/ |
144 | 144 |
|
145 |
#ifdef __cplusplus
|
|
145 |
#if defined(__cplusplus)
|
|
146 | 146 |
extern "C" { |
147 |
#endif |
|
147 |
#endif /* defined(__cplusplus) */
|
|
148 | 148 |
void aosIOStreamInit(AosIOStream* stream); |
149 | 149 |
void aosIOChannelInit(AosIOChannel* channel, BaseAsynchronousChannel* asyncchannel); |
150 | 150 |
void aosIOStreamAddChannel(AosIOStream* stream, AosIOChannel* channel); |
... | ... | |
153 | 153 |
void aosIOChannelInputDisable(AosIOChannel* channel); |
154 | 154 |
void aosIOChannelOutputEnable(AosIOChannel* channel); |
155 | 155 |
void aosIOChannelOutputDisable(AosIOChannel* channel); |
156 |
#ifdef __cplusplus
|
|
156 |
#if defined(__cplusplus)
|
|
157 | 157 |
} |
158 |
#endif |
|
158 |
#endif /* defined(__cplusplus) */
|
|
159 | 159 |
|
160 | 160 |
/******************************************************************************/ |
161 | 161 |
/* INLINE FUNCTIONS */ |
Also available in: Unified diff