Commits

Nikhil Marathe committed 19e1363

Fixed some formatting

Comments (0)

Files changed (2)

articles/c_in_my_javascript/c_in_javascript_part_1.html

 <h1>There&#8217;s a C in my JavaScript: Part 1</h1>
 <span id="author">Nikhil Marathe</span><br />
 <span id="email"><tt>&lt;<a href="mailto:nsm.nikhil@gmail.com">nsm.nikhil@gmail.com</a>&gt;</tt></span><br />
-<span id="revnumber">version 1.0,</span>
-<span id="revdate">March 2010</span>
+<span id="revnumber">version 1.0.1,</span>
+<span id="revdate">May 2010</span>
+<br /><span id="revremark">Fixed some formatting</span>
 <div id="toc">
   <div id="toctitle">Table of Contents</div>
   <noscript><p><b>JavaScript must be enabled in your browser to display the table of contents.</b></p></noscript>
 <tt>FunctionTemplate</tt> allows you to set prototype members or add properties to the function, but that is beyond the
 scope of this article and is usually not required.</p></div>
 <div class="paragraph"><p>To this template
-you will usually pass a wrapped C<tt> function ( read about function pointers if you are unsure how functions can be
+you will usually pass a wrapped C++ function ( read about function pointers if you are unsure how functions can be
 passed around ) . Now you get an instance of the function using <tt>GetFunction()</tt> and
-hook it to the <tt>generate</tt> function in the global scope. v8 implements quite a few custom types so that C</tt> and
+hook it to the <tt>generate</tt> function in the global scope. v8 implements quite a few custom types so that C++ and
 JavaScript types can be interchanged. But it also uses these types in the internals. So you have to pass the
 <tt>generate</tt> wrapped in a <tt>v8::String</tt>. All these types are instantiated using their <tt>New()</tt> method. Later we will see how node has a few useful macros for this.</p></div>
 <h3 id="_the_generate_function">The Generate Function</h3><div style="clear:left"></div>
 <div id="footnotes"><hr /></div>
 <div id="footer">
 <div id="footer-text">
-Version 1.0<br />
-Last updated 2010-03-22 20:53:03 IST
+Version 1.0.1<br />
+Last updated 2010-05-03 10:57:42 IST
 </div>
 </div>
 </body>

articles/c_in_my_javascript/v8_bindings_1.txt

 There's a C in my JavaScript: Part 1
 ====================================
 Nikhil Marathe <nsm.nikhil@gmail.com>
-v1.0, March 2010
+v1.0.1, May 2010:
+Fixed some formatting
 
 This is intended to be a short guide to writing JavaScript bindings to C or C++ libraries using the link:http://code.google.com/p/v8[V8] engine.
 It is intended primarily for link:http://nodejs.org[node.js] developers, though other projects using V8 may find it useful too.
 scope of this article and is usually not required.
 
 To this template
-you will usually pass a wrapped C++ function ( read about function pointers if you are unsure how functions can be
+you will usually pass a wrapped C\++ function ( read about function pointers if you are unsure how functions can be
 passed around ) . Now you get an instance of the function using `GetFunction()` and
 hook it to the `generate` function in the global scope. v8 implements quite a few custom types so that C++ and
 JavaScript types can be interchanged. But it also uses these types in the internals. So you have to pass the