mirror of
https://github.com/denoland/deno.git
synced 2025-09-27 04:39:10 +00:00
Wrap deno library in a namespace.
This commit is contained in:
parent
9df9cdae07
commit
092ec21381
4 changed files with 14 additions and 6 deletions
|
@ -6,6 +6,8 @@
|
|||
#include <string>
|
||||
#include "v8/include/v8.h"
|
||||
|
||||
namespace deno {
|
||||
|
||||
// Data that gets transmitted.
|
||||
struct buf_s {
|
||||
void* data;
|
||||
|
@ -52,4 +54,6 @@ const char* deno_last_exception(Deno* d);
|
|||
void deno_dispose(Deno* d);
|
||||
void deno_terminate_execution(Deno* d);
|
||||
|
||||
} // namespace deno
|
||||
|
||||
#endif // DENO_H_
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue