diff options
author | Richard van der Hoff <richard@matrix.org> | 2015-10-21 16:10:02 +0100 |
---|---|---|
committer | Richard van der Hoff <richard@matrix.org> | 2015-10-21 16:10:02 +0100 |
commit | 79b823a739e7e93e196cc554b1bb53a8631c6244 (patch) | |
tree | 0ef950a5edf69f7e42c6f445cc4af6cbc3dd0859 /matrix-json.h | |
parent | 1a97c621cbaebd8bb5b1ca68f12755977115374a (diff) | |
download | purple-matrix-79b823a739e7e93e196cc554b1bb53a8631c6244.tar.gz |
Update README and file comments
Diffstat (limited to 'matrix-json.h')
-rw-r--r-- | matrix-json.h | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/matrix-json.h b/matrix-json.h index c789a1c..b2c2820 100644 --- a/matrix-json.h +++ b/matrix-json.h @@ -1,7 +1,10 @@ /* - * matrix-json.h + * matrix-json.h: Convenience wrappers for libjson-glib + * + * This file contains wrappers for the libjson-glib library, which sanity-check + * their inputs and return NULL (as opposed to segfaulting and/or writing + * assertion warnings) if objects do not exist or are of the wrong type. * - * Convenience wrappers for libglib-json * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -15,7 +18,7 @@ * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA */ #ifndef MATRIX_JSON_H_ @@ -24,9 +27,7 @@ #include <json-glib/json-glib.h> /* - * The following are wrappers which sanity-check their inputs and return NULL - * (as opposed to segfaulting and/or writing assertion warnings) if objects - * do not exist or are of the wrong type. + */ /* node - returns NULL if node == NULL or *node is of the wrong type */ |