Paul Querna 30dadfc033 Register builtin extensions via a macro, rather than a manual strcmp
Set the stage for making the builtin modules more dynamic.

Note: this only converts crypto and net, I will add more extensions in a
later commit.

* node.h: Add utility macro for converting macro values to strings.

* node.h: Include the actual module name inside the module structure, not
  just the file it was built from.

* node.h: New Macro, NODE_MODULE_DECL, for declaring an external reference
  to a module structure.

* node_extensions.cc: New File, implements get_builtin_module, which
  iterates over the module structures that are compiled into node.

* node.cc(node::Binding): Use the new module lookup function to find
  modules.

* node_{net,crypto}.c: Add NODE_MODULEs to generate the module structure.
2010-07-14 10:17:25 -07:00
2010-06-29 23:59:24 -07:00
2010-06-23 20:05:29 -07:00
2010-07-07 20:10:01 +02:00
2010-07-12 14:23:35 -07:00
2010-07-13 17:15:10 -07:00
2010-07-01 14:29:50 -07:00
2010-07-03 08:37:46 +02:00
2010-07-03 08:37:46 +02:00
2010-05-11 10:25:27 -07:00
2010-07-12 16:29:42 -07:00
2010-07-14 09:50:17 -07:00

Evented I/O for V8 javascript.

To build:

  ./configure
  make 
  make install

To run the tests:
  
  make test

To build the documentation:

  make doc
 
To read the documentation:

  man doc/node.1

See http://nodejs.org/ for more information. For help and discussion
subscribe to the mailing list by visiting
http://groups.google.com/group/nodejs or by sending an email to
nodejs+subscribe@googlegroups.com.
Description
No description provided
Readme 175 MiB