brians | 343bc11 | 2013-02-10 01:53:46 +0000 | [diff] [blame^] | 1 | #ifndef AOS_CTDT_H_ |
2 | #define AOS_CTDT_H_ | ||||
3 | |||||
4 | // This function will call any function that starts with aos_init_function_*. | ||||
5 | // It will assume that these functions have the signature | ||||
6 | // 'extern "C" aos_init_function_whatever(void);' | ||||
7 | // The aos_ctdt.c/o files are generated at compile time (like ctdt.c/o). | ||||
8 | #ifdef __cplusplus | ||||
9 | extern "C" { | ||||
10 | #endif | ||||
11 | void aos_call_init_functions(); | ||||
12 | #ifdef __cplusplus | ||||
13 | } | ||||
14 | #endif | ||||
15 | |||||
16 | #endif | ||||
17 |