<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>hecomi</author_name>
  <author_url>https://blog.hatena.ne.jp/hecomi/</author_url>
  <blog_title>凹みTips</blog_title>
  <blog_url>https://tips.hecomi.com/</blog_url>
  <categories>
    <anon>C++</anon>
    <anon>node.js</anon>
  </categories>
  <description>はじめに 例えば、なんか重い作業が回っていて、それが終わったら JavaScript 側で予めセットしておいた関数を呼びたい！みたいなときに使えます。 参考ページ Callbacks from Threaded Node.js C++ Extension | Brave New Method コード ここでは関数の名前を引数にとって呼べる call 関数を作ってみます。 main.cpp #include &lt;iostream&gt; #include &lt;node.h&gt; using namespace v8; Persistent&lt;Object&gt; module_target; Handle&lt;Value…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftips.hecomi.com%2Fentry%2F20120609%2F1339217202&quot; title=&quot; node.js で JavaScript 側で定義した関数を C++ から呼ぶ方法 - 凹みTips&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2012-06-09 13:46:42</published>
  <title> node.js で JavaScript 側で定義した関数を C++ から呼ぶ方法</title>
  <type>rich</type>
  <url>https://tips.hecomi.com/entry/20120609/1339217202</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
