<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>chrofieyue</author_name>
  <author_url>https://blog.hatena.ne.jp/chrofieyue/</author_url>
  <blog_title>Next MIDI Project</blog_title>
  <blog_url>https://chrofieyue.hatenadiary.org/</blog_url>
  <categories>
  </categories>
  <description>あらすじ boost-python を使用して、Python と C 言語両方を活用する方法を説明しています。 前記事では、C 言語で Hello world を出力する関数を作成し、これを Python から呼び出す方法を説明しました。 本記事では、ふたつの言語の間で簡単なデータを受け渡す方法について解説します。 プリミティブの受け渡しは簡単 渡したいデータが文字列や数値である場合は、何も気兼ねする必要がありません。 hello.cpp #include &lt;string&gt; #include &lt;boost/python.hpp&gt; using namespace boost::python; d…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fchrofieyue.hatenadiary.org%2Fentry%2F20120228%2F1330392031&quot; title=&quot;boost-python ではじめる大規模機械学習 （２） - データの受け渡し - Next MIDI Project&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-02-28 10:20:31</published>
  <title>boost-python ではじめる大規模機械学習 （２） - データの受け渡し</title>
  <type>rich</type>
  <url>https://chrofieyue.hatenadiary.org/entry/20120228/1330392031</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
