Wrap deno library in a namespace.

This commit is contained in:
Ryan Dahl 2018-06-10 02:24:34 +02:00
parent 9df9cdae07
commit 092ec21381
4 changed files with 14 additions and 6 deletions

View file

@ -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_