Re: [nodejs] implementing module in header library

2012-02-22 Thread Ben Noordhuis
On Wed, Feb 22, 2012 at 20:22, Tristan Zajonc wrote: > Hi, > > Is there a trick to implementing modules in header libraries, to help with > reuse across modules.  I don't know the ins and outs of node modules but I > tried to port: > > https://github.com/kkaefer/node-cpp-modules/tree/master/06_obj

[nodejs] implementing module in header library

2012-02-22 Thread Tristan Zajonc
Hi, Is there a trick to implementing modules in header libraries, to help with reuse across modules. I don't know the ins and outs of node modules but I tried to port: https://github.com/kkaefer/node-cpp-modules/tree/master/06_objects to put the implementation in the header library as follows: