Procházet zdrojové kódy

[Minor] Fix doc string

tags/2.6
Vsevolod Stakhov před 4 roky
rodič
revize
e02ab40788
1 změnil soubory, kde provedl 3 přidání a 3 odebrání
  1. 3
    3
      src/lua/lua_text.c

+ 3
- 3
src/lua/lua_text.c Zobrazit soubor

@@ -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

Načítá se…
Zrušit
Uložit