twchapman / nativeclient-sdk

Automatically exported from code.google.com/p/nativeclient-sdk
0 stars 0 forks source link

Patch for /trunk/src/examples/hello_world/hello_world.cc #121

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Removed MarshallReverseText() and MarshallFortyTwo()

The functions are not necessary from C++ or NaCl point of view. I think they 
have no demonstrative value. It requires more effort to see 
kReverseTextMethodId message from JavaScript leads to ReverseText() function in 
C++.
The documentation of the 2 functions is partly obvious from C++ code, partly 
incorrect (the good/bad input thing).

Original issue reported on code.google.com by petr.hluzin@gmail.com on 5 Sep 2011 at 7:58

Attachments:

GoogleCodeExporter commented 9 years ago
These functions are part of the example that demonstrates simple unit testing.

Original comment by dsprin...@chromium.org on 8 Sep 2011 at 11:01