summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChia-I Wu <olvaffe@gmail.com>2010-01-17 09:47:10 +0800
committerChia-I Wu <olvaffe@gmail.com>2010-01-17 09:47:10 +0800
commitdf70f12b09cfd184df006559e36a726bf7aaa75a (patch)
treeb84efb88a743614411dc40f81c191c1337a9005e
parent79bbeb3a10f9df0afed5f360e984acffeebf7fb6 (diff)
Document st_module.
-rw-r--r--st_api.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/st_api.h b/st_api.h
index f7fa9d8..4bfe947 100644
--- a/st_api.h
+++ b/st_api.h
@@ -42,6 +42,9 @@
* tracker managers.
*/
+/**
+ * The entry points of the state trackers.
+ */
#define ST_MODULE_OPENGL "st_module_OpenGL"
#define ST_MODULE_OPENGL_ES1 "st_module_OpenGL_ES1"
#define ST_MODULE_OPENGL_ES2 "st_module_OpenGL_ES2"
@@ -315,6 +318,11 @@ struct st_api
void (*destroy)(struct st_api *api);
};
+/**
+ * Represent a state tracker.
+ *
+ * This is the entry point of a state tracker.
+ */
struct st_module
{
struct st_api *(*create_api)(const struct sm_api *smapi);