[v8-juice] r2241 committed - added #includes to output.

1 view
Skip to first unread message

v8-j...@googlecode.com

unread,
Apr 12, 2012, 1:26:25 PM4/12/12
to v8-juice-...@googlegroups.com
Revision: 2241
Author: sgbeal
Date: Thu Apr 12 10:24:47 2012
Log: added #includes to output.
http://code.google.com/p/v8-juice/source/detail?r=2241

Modified:
/convert/addons/createCCWrapper.sh

=======================================
--- /convert/addons/createCCWrapper.sh Thu Apr 12 10:12:59 2012
+++ /convert/addons/createCCWrapper.sh Thu Apr 12 10:24:47 2012
@@ -20,6 +20,8 @@
function gen_h() {
cat <<EOF

+#include <cvv8/ClassCreator.hpp>
+
namespace cvv8 {
CVV8_TypeName_DECL((${class}));

@@ -73,6 +75,12 @@
}

function gen_cpp(){
+cat <<EOF
+#include <cvv8/XTo.hpp>
+#include <cvv8/properties.hpp>
+EOF
+
+
echo "namespace cvv8 {"

cat <<EOF
@@ -110,7 +118,6 @@
}
EOF

-
cat <<EOF
void ClassCreator_SetupBindings<typename ${class}>::Initialize(
v8::Handle<v8::Object> const & target );
typedef ${class} T;

Reply all
Reply to author
Forward
0 new messages