summaryrefslogtreecommitdiff
path: root/src/handlers.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/handlers.h')
-rw-r--r--src/handlers.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/handlers.h b/src/handlers.h
index b398eca61..a95bc7265 100644
--- a/src/handlers.h
+++ b/src/handlers.h
@@ -2,10 +2,12 @@
// All rights reserved. MIT License.
#ifndef HANDLERS_H_
#define HANDLERS_H_
-extern "C" {
+
#include <stdint.h>
+#include "deno.h"
-void handle_code_fetch(uint32_t cmd_id, const char* module_specifier,
+extern "C" {
+void handle_code_fetch(Deno* d, uint32_t cmd_id, const char* module_specifier,
const char* containing_file);
-}
+} // extern "C"
#endif // HANDLERS_H_