diff options
author | Not Zed <NotZed@HelixCode.com> | 2000-05-31 06:53:59 +0800 |
---|---|---|
committer | Michael Zucci <zucchi@src.gnome.org> | 2000-05-31 06:53:59 +0800 |
commit | 75353e0bff2661faf013f87aed65fbc58bb0ab68 (patch) | |
tree | 7c7c85ad7dc79b3d371ef0247a4fa5df8588a66d /e-util/e-sexp.h | |
parent | 7b37caa73423f9d8278892a72869c52432c2156e (diff) | |
download | gsoc2013-evolution-75353e0bff2661faf013f87aed65fbc58bb0ab68.tar.gz gsoc2013-evolution-75353e0bff2661faf013f87aed65fbc58bb0ab68.tar.zst gsoc2013-evolution-75353e0bff2661faf013f87aed65fbc58bb0ab68.zip |
Utility function to build a bool as part of an expression string.
2000-05-30 Not Zed <NotZed@HelixCode.com>
* e-sexp.c (e_sexp_encode_bool): Utility function to build a bool
as part of an expression string.
(e_sexp_encode_string): Likewise for strings.
svn path=/trunk/; revision=3300
Diffstat (limited to 'e-util/e-sexp.h')
-rw-r--r-- | e-util/e-sexp.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/e-util/e-sexp.h b/e-util/e-sexp.h index 885a2369b9..1030531133 100644 --- a/e-util/e-sexp.h +++ b/e-util/e-sexp.h @@ -112,4 +112,8 @@ ESExpResult *e_sexp_term_eval (struct _ESExp *f, struct _ESExpTerm *t); ESExpResult *e_sexp_result_new (int type); void e_sexp_result_free (struct _ESExpResult *t); +/* utility functions for creating s-exp strings. */ +void e_sexp_encode_bool(GString *s, gboolean state); +void e_sexp_encode_string(GString *s, const char *string); + #endif /* _E_SEXP_H */ |