[template-glib] doc: add some docs for TmplTemplateLocator
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [template-glib] doc: add some docs for TmplTemplateLocator
- Date: Wed, 25 Oct 2017 01:06:14 +0000 (UTC)
commit 2275235128568039829536c39bbc70a9012cbb2a
Author: Christian Hergert <chergert redhat com>
Date: Tue Oct 24 18:06:05 2017 -0700
doc: add some docs for TmplTemplateLocator
src/tmpl-template-locator.c | 12 ++++++++++++
1 files changed, 12 insertions(+), 0 deletions(-)
---
diff --git a/src/tmpl-template-locator.c b/src/tmpl-template-locator.c
index ff3705b..8223946 100644
--- a/src/tmpl-template-locator.c
+++ b/src/tmpl-template-locator.c
@@ -21,6 +21,18 @@
#include "tmpl-error.h"
#include "tmpl-template-locator.h"
+/**
+ * TmplTemplateLocator:
+ *
+ * The #TmplTemplateLoader class is used to specify how templates
+ * should be loaded. This can be used directly by your code that
+ * will compile the data streams into #TmplTemplate instances, or
+ * by a #TmplTemplate that is resolving includes from the
+ * `{{include "path.tmpl"}}` directive.
+ *
+ * See #TmplTemplate:locator for more information.
+ */
+
typedef struct
{
GQueue *search_path;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]