Revision fdf47c5d apps/HelloWorld/helloworld.h
apps/HelloWorld/helloworld.h | ||
---|---|---|
19 | 19 |
#ifndef HELLOWORLD_H |
20 | 20 |
#define HELLOWORLD_H |
21 | 21 |
|
22 |
//#include <urtware.h>
|
|
22 |
#include <urtware.h> |
|
23 | 23 |
|
24 | 24 |
#pragma message "Hello World! (.h)" |
25 | 25 |
|
26 |
typedef void (*helloFunction)(int); |
|
27 |
void hello(int arg); |
|
26 |
#if defined(__cplusplus) |
|
27 |
extern "C" { |
|
28 |
#endif /* defined(__cplusplus) */ |
|
29 |
|
|
30 |
urt_osEventMask_t hello(urt_node_t* node, urt_osEventMask_t events, void* arg); |
|
31 |
void helloWorldInit(urt_node_t* node, urt_osThread_t* thread); |
|
32 |
|
|
33 |
#if defined(__cplusplus) |
|
34 |
} |
|
35 |
#endif /* defined(__cplusplus) */ |
|
28 | 36 |
|
29 | 37 |
#endif /* HELLOWORLD_H */ |
Also available in: Unified diff