<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>rhysd</author_name>
  <author_url>https://blog.hatena.ne.jp/rhysd/</author_url>
  <blog_title>はやくプログラムになりたい</blog_title>
  <blog_url>https://rhysd.hatenablog.com/</blog_url>
  <categories>
    <anon>C</anon>
    <anon>libclang</anon>
  </categories>
  <description>CXString は libclang での文字列型で，C の文字列に直すには clang_getCString() を使う． CXString s = clang_getCursorSpelling(cursor); char const* p = clang_getCString(s); しかし，どうやら複数回 clang_getCString() を適用すると1回目と2回目では違う値が返ってくることに気づいた． CXString s = clang_getCursorSpelling(cursor); char const* p1 = clang_getCString(s); // p1…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Frhysd.hatenablog.com%2Fentry%2F2014%2F01%2F13%2F053204&quot; title=&quot; 同じ CXString に複数回 clang_getCString() を適用してはいけない…？ - はやくプログラムになりたい&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>2014-01-13 05:32:04</published>
  <title> 同じ CXString に複数回 clang_getCString() を適用してはいけない…？</title>
  <type>rich</type>
  <url>https://rhysd.hatenablog.com/entry/2014/01/13/053204</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
