Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Export some functions from node.h

  • Loading branch information...
commit 65f4ac6597643eba4e4e6a3d94128f6fbe3e5a21 1 parent 0937e20
Bert Belder authored October 28, 2011

Showing 1 changed file with 10 additions and 10 deletions. Show diff stats Hide diff stats

  1. 20  src/node.h
20  src/node.h
@@ -121,7 +121,7 @@ do {                                                                      \
121 121
 enum encoding {ASCII, UTF8, BASE64, UCS2, BINARY, HEX};
122 122
 enum encoding ParseEncoding(v8::Handle<v8::Value> encoding_v,
123 123
                             enum encoding _default = BINARY);
124  
-void FatalException(v8::TryCatch &try_catch);
  124
+NODE_EXTERN void FatalException(v8::TryCatch &try_catch);
125 125
 void DisplayExceptionLine(v8::TryCatch &try_catch); // hack
126 126
 
127 127
 v8::Local<v8::Value> Encode(const void *buf, size_t len,
@@ -183,10 +183,10 @@ static inline void cb_destroy(v8::Persistent<v8::Function> * cb) {
183 183
   delete cb;
184 184
 }
185 185
 
186  
-v8::Local<v8::Value> ErrnoException(int errorno,
187  
-                                    const char *syscall = NULL,
188  
-                                    const char *msg = "",
189  
-                                    const char *path = NULL);
  186
+NODE_EXTERN v8::Local<v8::Value> ErrnoException(int errorno,
  187
+                                                const char *syscall = NULL,
  188
+                                                const char *msg = "",
  189
+                                                const char *path = NULL);
190 190
 
191 191
 const char *signo_string(int errorno);
192 192
 
@@ -232,11 +232,11 @@ node_module_struct* get_builtin_module(const char *name);
232 232
 #define NODE_MODULE_DECL(modname) \
233 233
   extern "C" node::node_module_struct modname ## _module;
234 234
 
235  
-void SetErrno(uv_err_t err);
236  
-void MakeCallback(v8::Handle<v8::Object> object,
237  
-                  const char* method,
238  
-                  int argc,
239  
-                  v8::Handle<v8::Value> argv[]);
  235
+NODE_EXTERN void SetErrno(uv_err_t err);
  236
+NODE_EXTERN void MakeCallback(v8::Handle<v8::Object> object,
  237
+                              const char* method,
  238
+                              int argc,
  239
+                              v8::Handle<v8::Value> argv[]);
240 240
 
241 241
 }  // namespace node
242 242
 #endif  // SRC_NODE_H_

0 notes on commit 65f4ac6

Please sign in to comment.
Something went wrong with that request. Please try again.