python的“ .tp_doc”属性的Doxygen文档…

时间:2018-11-27 18:06:55

标签: python c doxygen

我有一个Class-Library,所有 doxygen 文档都位于c-header文件中……现在,我有一个 python api包装器,使用 python 类型和功能

相关的strong> 类型方法

问题…我如何从c-heder文件中获取 \ brief \ details 文档,并放入 python {{1} }…属性??

真正的好帮助是 doxygen 产生一个.tpdoc文件,其文件具有c-function-name→ \ brief \ detail

我将阅读 THIS index文件,并将信息添加到 python api。

→感谢您的帮助

示例:

index

python API…

/// \brief create a \e master/slave link between the master-parent-context and the slave-parent-context …
///
/// \param[in] ctx the \e master context object as PARENT without a CHILD
/// \slaveid
/// \param[in] slave the \e slave context object as CLIENT-PARENT without a CHILD
/// \retMqErrorE
/// \attention The \e slave-context is owned by the \e master-context.
/// This mean that no other external references should be used and the \e slave-context
/// will be deleted if the \e master-context is be deleted.
MQ_EXTERN enum MqErrorE
MQ_DECL MqSlaveCreate (
  struct MqS * const  ctx,
  MQ_SLAVE_ID const   id,
  struct MqS * const  slave
);

0 个答案:

没有答案