{"published":"2016-05-06 17:28:57","author_name":"shive","version":"1.0","provider_url":"https://hatena.blog","height":"190","image_url":null,"author_url":"https://blog.hatena.ne.jp/shive/","url":"https://shive.hateblo.jp/entry/20160506/1462523337","title":"cdef\u30af\u30e9\u30b9\u3068cpdef\u306e\u6319\u52d5","blog_url":"https://shive.hateblo.jp/","categories":["cython","python"],"width":"100%","type":"rich","provider_name":"Hatena Blog","description":"Cython\u3067\u30cd\u30a4\u30c6\u30a3\u30d6\u5b9f\u88c5\u306ePython\u30af\u30e9\u30b9\u3092\u4f5c\u308b\u3002\uff08Cython 0.24 \u3067\u78ba\u8a8d\uff09 # hoge.pyx from libc.stdio cimport printf from libcpp.string cimport string cdef class Hoge: cdef string name_ property name: def __get__(self): return self.name_.c_str().decode() def __init__(self): self.name_ = b'josh' def hello(self): self.chello() cd\u2026","blog_title":"\u30b2\u30fc\u30e0\u30a8\u30f3\u30b8\u30cb\u30a2\u306a\u65e5\u3005","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fshive.hateblo.jp%2Fentry%2F20160506%2F1462523337\" title=\"cdef\u30af\u30e9\u30b9\u3068cpdef\u306e\u6319\u52d5 - \u30b2\u30fc\u30e0\u30a8\u30f3\u30b8\u30cb\u30a2\u306a\u65e5\u3005\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>"}