PageRenderTime 42ms CodeModel.GetById 36ms app.highlight 1ms RepoModel.GetById 4ms app.codeStats 0ms

/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
 5#ifndef _EXAMPLE_H
 6#define	_EXAMPLE_H
 7
 8#include <sys/types.h>
 9#include "v8plus_glue.h"
10
11#ifdef	__cplusplus
12extern "C" {
13#endif	/* __cplusplus */
14
15typedef struct example {
16	uint64_t e_val;
17} example_t;
18
19#ifdef	__cplusplus
20}
21#endif	/* __cplusplus */
22
23#endif	/* _EXAMPLE_H */