File tree 3 files changed +9
-18
lines changed
locale/ja/LC_MESSAGES/reference/api
3 files changed +9
-18
lines changed Original file line number Diff line number Diff line change @@ -71,12 +71,3 @@ msgstr ":doc:`/reference/commands/select` コマンドで使われるキャッ
71
71
72
72
msgid "The cache object that is used in :doc:`/reference/commands/select` command. It may be ``NULL``."
73
73
msgstr ":doc:`/reference/commands/select` コマンドで使われるキャッシュオブジェクト。 ``NULL`` のこともあります。"
74
-
75
- msgid "Sets the max number of entries of the cache object."
76
- msgstr "キャッシュオブジェクトのエントリの最大数を設定します。"
77
-
78
- msgid "The cache object to be changed."
79
- msgstr "変更するキャッシュオブジェクト。"
80
-
81
- msgid "The new max number of entries of the cache object."
82
- msgstr "キャッシュオブジェクトの新しい最大エントリ数。"
Original file line number Diff line number Diff line change @@ -75,12 +75,3 @@ Reference
75
75
:param ctx: The context.
76
76
:return: The cache object that is used in
77
77
:doc: `/reference/commands/select ` command. It may be ``NULL ``.
78
-
79
- .. c :function :: grn_rc grn_cache_set_max_n_entries (grn_ctx *ctx, grn_cache *cache, unsigned int n)
80
-
81
- Sets the max number of entries of the cache object.
82
-
83
- :param ctx: The context.
84
- :param cache: The cache object to be changed.
85
- :param n: The new max number of entries of the cache object.
86
- :return: ``GRN_SUCCESS `` on success, not ``GRN_SUCCESS `` otherwise.
Original file line number Diff line number Diff line change @@ -101,6 +101,15 @@ grn_cache_current_get(grn_ctx *ctx);
101
101
GRN_API grn_rc
102
102
grn_cache_default_reopen (void );
103
103
104
+ /**
105
+ * \brief Set the maximum number of entries in the \ref grn_cache object.
106
+ *
107
+ * \param ctx The context object.
108
+ * \param cache The cache object whose maximum entry count is updated.
109
+ * \param n The new maximum number of entries.
110
+ *
111
+ * \return \ref GRN_SUCCESS on success, the appropriate \ref grn_rc on error.
112
+ */
104
113
GRN_API grn_rc
105
114
grn_cache_set_max_n_entries (grn_ctx * ctx , grn_cache * cache , unsigned int n );
106
115
/**
You can’t perform that action at this time.
0 commit comments