ソースを参照

[Minor] Fix doc string

tags/2.6
Vsevolod Stakhov 4年前
コミット
e02ab40788
1個のファイルの変更3行の追加3行の削除
  1. 3
    3
      src/lua/lua_text.c

+ 3
- 3
src/lua/lua_text.c ファイルの表示

@@ -27,7 +27,7 @@
* You can convert rspamd_text into string but it will copy data.
*/

/**
/***
* @function rspamd_text.fromstring(str)
* Creates rspamd_text from Lua string (copied to the text)
* @param {string} str string to use
@@ -35,7 +35,7 @@
*/
LUA_FUNCTION_DEF (text, fromstring);

/**
/***
* @function rspamd_text.null()
* Creates rspamd_text with NULL pointer for testing purposes
* @param {string} str string to use
@@ -43,7 +43,7 @@ LUA_FUNCTION_DEF (text, fromstring);
*/
LUA_FUNCTION_DEF (text, null);

/**
/***
* @function rspamd_text.fromtable(tbl[, delim])
* Same as `table.concat` but generates rspamd_text instead of the Lua string
* @param {table} tbl table to use

読み込み中…
キャンセル
保存