Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 2 additions & 8 deletions doc/locale/ja/LC_MESSAGES/reference/api/grn_db.po
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,6 @@ msgstr ""
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=1; plural=0;\n"

msgid "パラメータ"
msgstr ""

msgid "``grn_db``"
msgstr ""

Expand All @@ -33,8 +30,5 @@ msgstr "例"
msgid "Reference"
msgstr "リファレンス"

msgid "objの属するdbを返します。"
msgstr ""

msgid "対象objectを指定します。"
msgstr ""
msgid "We are currently switching to automatic generation using Doxygen."
msgstr "現在、Doxygenを使った自動生成に切り替え中です。"
9 changes: 2 additions & 7 deletions doc/source/reference/api/grn_db.rst
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,5 @@ TODO...
Reference
---------

TODO...

.. c:function:: grn_obj *grn_obj_db(grn_ctx *ctx, grn_obj *obj)

objの属するdbを返します。

:param obj: 対象objectを指定します。
.. note::
We are currently switching to automatic generation using Doxygen.
9 changes: 9 additions & 0 deletions include/groonga/groonga.h
Original file line number Diff line number Diff line change
Expand Up @@ -1348,6 +1348,15 @@ grn_obj_flush_only_opened(grn_ctx *ctx, grn_obj *obj);
GRN_API int
grn_obj_defrag(grn_ctx *ctx, grn_obj *obj, int threshold);

/**
* \brief Return the database to which `obj` belongs.
*
* \param ctx The context object.
* \param obj Target object.
*
* \return The database object to which `obj` belongs, `NULL` if `obj` doesn't
* belong to any database.
*/
GRN_API grn_obj *
grn_obj_db(grn_ctx *ctx, grn_obj *obj);

Expand Down
Loading