Boost.Python文档中文翻译。译者:金庆,2008.6.16。请关注:Boost文档翻译项目 ( http://groups.google.com/group/boost_doc_translation?hl=zh-CN )欢迎访问:金庆的专栏 ( http://blog.csdn.net/jq0123 )
代码片段和文件信息
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2008-06-16 09:04 Boost.Python中文文档
目录 0 2008-06-16 09:03 Boost.Python中文文档oost_1_35_0
文件 1033 2008-05-23 09:07 Boost.Python中文文档oost_1_35_0oost.css
文件 6308 2008-05-23 09:07 Boost.Python中文文档oost_1_35_0oost.png
目录 0 2008-06-16 09:03 Boost.Python中文文档oost_1_35_0doc
目录 0 2008-06-16 09:03 Boost.Python中文文档oost_1_35_0dochtml
目录 0 2008-06-16 09:03 Boost.Python中文文档oost_1_35_0dochtmlimages
文件 374 2008-05-26 13:24 Boost.Python中文文档oost_1_35_0dochtmlimageslank.png
文件 1250 2008-05-26 13:24 Boost.Python中文文档oost_1_35_0dochtmlimagescaution.png
文件 17454 2008-05-26 13:24 Boost.Python中文文档oost_1_35_0dochtmlimagesdraft.png
文件 358 2008-05-26 13:24 Boost.Python中文文档oost_1_35_0dochtmlimageshome.png
文件 722 2008-05-26 13:24 Boost.Python中文文档oost_1_35_0dochtmlimagesimportant.png
文件 336 2008-05-26 13:24 Boost.Python中文文档oost_1_35_0dochtmlimages
ext.png
文件 1110 2008-05-26 13:24 Boost.Python中文文档oost_1_35_0dochtmlimages
ext_disabled.png
文件 490 2008-05-26 13:24 Boost.Python中文文档oost_1_35_0dochtmlimages
ote.png
文件 334 2008-05-26 13:24 Boost.Python中文文档oost_1_35_0dochtmlimagesprev.png
文件 1109 2008-05-26 13:24 Boost.Python中文文档oost_1_35_0dochtmlimagesprev_disabled.png
文件 449 2008-05-26 13:24 Boost.Python中文文档oost_1_35_0dochtmlimages ip.png
文件 318 2008-05-26 13:24 Boost.Python中文文档oost_1_35_0dochtmlimages oc-blank.png
文件 259 2008-05-26 13:24 Boost.Python中文文档oost_1_35_0dochtmlimages oc-minus.png
文件 264 2008-05-26 13:24 Boost.Python中文文档oost_1_35_0dochtmlimages oc-plus.png
文件 370 2008-05-26 13:24 Boost.Python中文文档oost_1_35_0dochtmlimagesup.png
文件 1115 2008-05-26 13:24 Boost.Python中文文档oost_1_35_0dochtmlimagesup_disabled.png
文件 1241 2008-05-26 13:24 Boost.Python中文文档oost_1_35_0dochtmlimageswarning.png
文件 795 2008-05-23 09:07 Boost.Python中文文档oost_1_35_0index.htm
文件 5559 2008-05-23 09:07 Boost.Python中文文档oost_1_35_0index.html
目录 0 2008-06-16 09:03 Boost.Python中文文档oost_1_35_0libs
文件 478 2008-05-23 09:07 Boost.Python中文文档oost_1_35_0libsindex.html
文件 40444 2008-05-23 09:07 Boost.Python中文文档oost_1_35_0libslibraries.htm
目录 0 2008-06-16 09:03 Boost.Python中文文档oost_1_35_0libspython
目录 0 2008-06-16 09:03 Boost.Python中文文档oost_1_35_0libspythonuild
............此处省略492个文件信息
// Copyright Ralf W. Grosse-Kunstleve 2002-2004. Distributed under the Boost
// Software License Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
#include
#include
#include
namespace { // Avoid cluttering the global namespace.
// A couple of simple C++ functions that we want to expose to Python.
std::string greet() { return “hello world“; }
int square(int number) { return number * number; }
}
namespace python = boost::python;
// Python requires an exported function called init in every
// extension module. This is where we build the module contents.
BOOST_PYTHON_MODULE(getting_started1)
{
// Add regular functions to the module.
python::def(“greet“ greet);
python::def(“square“ square);
}
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2008-06-16 09:04 Boost.Python中文文档
目录 0 2008-06-16 09:03 Boost.Python中文文档oost_1_35_0
文件 1033 2008-05-23 09:07 Boost.Python中文文档oost_1_35_0oost.css
文件 6308 2008-05-23 09:07 Boost.Python中文文档oost_1_35_0oost.png
目录 0 2008-06-16 09:03 Boost.Python中文文档oost_1_35_0doc
目录 0 2008-06-16 09:03 Boost.Python中文文档oost_1_35_0dochtml
目录 0 2008-06-16 09:03 Boost.Python中文文档oost_1_35_0dochtmlimages
文件 374 2008-05-26 13:24 Boost.Python中文文档oost_1_35_0dochtmlimageslank.png
文件 1250 2008-05-26 13:24 Boost.Python中文文档oost_1_35_0dochtmlimagescaution.png
文件 17454 2008-05-26 13:24 Boost.Python中文文档oost_1_35_0dochtmlimagesdraft.png
文件 358 2008-05-26 13:24 Boost.Python中文文档oost_1_35_0dochtmlimageshome.png
文件 722 2008-05-26 13:24 Boost.Python中文文档oost_1_35_0dochtmlimagesimportant.png
文件 336 2008-05-26 13:24 Boost.Python中文文档oost_1_35_0dochtmlimages
ext.png
文件 1110 2008-05-26 13:24 Boost.Python中文文档oost_1_35_0dochtmlimages
ext_disabled.png
文件 490 2008-05-26 13:24 Boost.Python中文文档oost_1_35_0dochtmlimages
ote.png
文件 334 2008-05-26 13:24 Boost.Python中文文档oost_1_35_0dochtmlimagesprev.png
文件 1109 2008-05-26 13:24 Boost.Python中文文档oost_1_35_0dochtmlimagesprev_disabled.png
文件 449 2008-05-26 13:24 Boost.Python中文文档oost_1_35_0dochtmlimages ip.png
文件 318 2008-05-26 13:24 Boost.Python中文文档oost_1_35_0dochtmlimages oc-blank.png
文件 259 2008-05-26 13:24 Boost.Python中文文档oost_1_35_0dochtmlimages oc-minus.png
文件 264 2008-05-26 13:24 Boost.Python中文文档oost_1_35_0dochtmlimages oc-plus.png
文件 370 2008-05-26 13:24 Boost.Python中文文档oost_1_35_0dochtmlimagesup.png
文件 1115 2008-05-26 13:24 Boost.Python中文文档oost_1_35_0dochtmlimagesup_disabled.png
文件 1241 2008-05-26 13:24 Boost.Python中文文档oost_1_35_0dochtmlimageswarning.png
文件 795 2008-05-23 09:07 Boost.Python中文文档oost_1_35_0index.htm
文件 5559 2008-05-23 09:07 Boost.Python中文文档oost_1_35_0index.html
目录 0 2008-06-16 09:03 Boost.Python中文文档oost_1_35_0libs
文件 478 2008-05-23 09:07 Boost.Python中文文档oost_1_35_0libsindex.html
文件 40444 2008-05-23 09:07 Boost.Python中文文档oost_1_35_0libslibraries.htm
目录 0 2008-06-16 09:03 Boost.Python中文文档oost_1_35_0libspython
目录 0 2008-06-16 09:03 Boost.Python中文文档oost_1_35_0libspythonuild
............此处省略492个文件信息
版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容, 请发送邮件举报,一经查实,本站将立刻删除。
评论列表(条)