/examples/example.h

http://github.com/wesolows/v8plus · C Header · 23 lines · 14 code · 6 blank · 3 comment · 0 complexity · 6cb399ff28847fbb1d6aa17e1f01c02b MD5 · raw file

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