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