1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-26 04:46:37 +02:00

scripts: improve comments on functions that convert hashtables

This commit is contained in:
Sébastien Helleu
2015-02-21 09:12:44 +01:00
parent 770152dea7
commit 8f11de6863
6 changed files with 12 additions and 12 deletions
+2 -2
View File
@@ -190,7 +190,7 @@ weechat_guile_hashtable_map_cb (void *data,
}
/*
* Gets guile alist with a WeeChat hashtable.
* Converts a WeeChat hashtable to a guile alist.
*/
SCM
@@ -208,7 +208,7 @@ weechat_guile_hashtable_to_alist (struct t_hashtable *hashtable)
}
/*
* Gets WeeChat hashtable with guile alist.
* Converts a guile alist to a WeeChat hashtable.
*
* Note: hashtable must be free after use.
*/
+2 -2
View File
@@ -99,7 +99,7 @@ weechat_lua_hashtable_map_cb (void *data,
}
/*
* Puts a WeeChat hashtable on lua stack, as lua table.
* Converts a WeeChat hashtable to a lua hash (as lua table on the stack).
*/
void
@@ -113,7 +113,7 @@ weechat_lua_pushhashtable (lua_State *interpreter, struct t_hashtable *hashtable
}
/*
* Gets WeeChat hashtable with lua hash (on stack).
* Converts a lua hash (on stack) to a WeeChat hashtable.
*
* Note: hashtable must be freed after use.
*/
+2 -2
View File
@@ -120,7 +120,7 @@ weechat_perl_hashtable_map_cb (void *data,
}
/*
* Gets perl hash with a WeeChat hashtable.
* Converts a WeeChat hashtable to a perl hash.
*/
HV *
@@ -140,7 +140,7 @@ weechat_perl_hashtable_to_hash (struct t_hashtable *hashtable)
}
/*
* Gets WeeChat hashtable with perl hash.
* Converts a perl hash to a WeeChat hashtable.
*
* Note: hashtable must be freed after use.
*/
+2 -2
View File
@@ -213,7 +213,7 @@ weechat_python_hashtable_map_cb (void *data,
}
/*
* Gets python dictionary with a WeeChat hashtable.
* Converts a WeeChat hashtable to a python dictionary.
*/
PyObject *
@@ -236,7 +236,7 @@ weechat_python_hashtable_to_dict (struct t_hashtable *hashtable)
}
/*
* Gets WeeChat hashtable with python dictionary.
* Converts a python dictionary to a WeeChat hashtable.
*
* Note: hashtable must be freed after use.
*/
+2 -2
View File
@@ -134,7 +134,7 @@ weechat_ruby_hashtable_map_cb (void *data,
}
/*
* Gets ruby hash with a WeeChat hashtable.
* Converts a WeeChat hashtable to a ruby hash.
*/
VALUE
@@ -184,7 +184,7 @@ weechat_ruby_hash_foreach_cb (VALUE key, VALUE value, void *arg)
}
/*
* Gets WeeChat hashtable with ruby hashtable.
* Converts a ruby hash to a WeeChat hashtable.
*
* Note: hashtable must be freed after use.
*/
+2 -2
View File
@@ -105,7 +105,7 @@ weechat_tcl_hashtable_map_cb (void *data,
}
/*
* Gets tcl dict with a WeeChat hashtable.
* Converts a WeeChat hashtable to a tcl dict.
*/
Tcl_Obj *
@@ -130,7 +130,7 @@ weechat_tcl_hashtable_to_dict (Tcl_Interp *interp,
}
/*
* Gets WeeChat hashtable with tcl dict.
* Converts a tcl dict to a WeeChat hashtable.
*
* Note: hashtable must be freed after use.
*/