1 /*
2 * Copyright (c) 2012 Joyent, Inc. All rights reserved.
3 */
4
5 #ifndef _EXAMPLE_H
6 #define _EXAMPLE_H
7
8 #include <sys/types.h>
9 #include "v8plus_glue.h"
10
11 #ifdef __cplusplus
12 extern "C" {
13 #endif /* __cplusplus */
14
15 #define __UNUSED __attribute__((__unused__))
16
17 typedef struct example {
18 uint64_t e_val;
19 } example_t;
20
21 #ifdef __cplusplus
22 }
23 #endif /* __cplusplus */
24
25 #endif /* _EXAMPLE_H */
|
1 /*
2 * Copyright (c) 2012 Joyent, Inc. All rights reserved.
3 */
4
5 #ifndef _EXAMPLE_H
6 #define _EXAMPLE_H
7
8 #include <sys/types.h>
9 #include "v8plus_glue.h"
10
11 #ifdef __cplusplus
12 extern "C" {
13 #endif /* __cplusplus */
14
15 typedef struct example {
16 uint64_t e_val;
17 } example_t;
18
19 #ifdef __cplusplus
20 }
21 #endif /* __cplusplus */
22
23 #endif /* _EXAMPLE_H */
|