summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBryce Harrington <bryce@osg.samsung.com>2017-06-14 14:27:15 -0700
committerCedric BAIL <cedric@osg.samsung.com>2017-06-14 14:27:17 -0700
commit19b704b70068cf340a148442441514ba16447d83 (patch)
tree734ee7ba084a9f9c6136c6ae261ee6e4e0c170fb
parent60e0e3d1d596ad98cae9936f0e52f61825354607 (diff)
downloadefl-19b704b70068cf340a148442441514ba16447d83.tar.gz
ector: document ector_glsym_set
Reviewers: cedric Reviewed By: cedric Subscribers: cedric, jpeg Differential Revision: https://phab.enlightenment.org/D4964 Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
-rw-r--r--src/lib/ector/Ector.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/lib/ector/Ector.h b/src/lib/ector/Ector.h
index 2891073fe4..2f479e131e 100644
--- a/src/lib/ector/Ector.h
+++ b/src/lib/ector/Ector.h
@@ -151,6 +151,19 @@ EAPI int ector_init(void);
*/
EAPI int ector_shutdown(void);
+/**
+ * @brief Registers OpenGL API calls with the internal Ector_GL_API.
+ *
+ * @param glsym Function to use for looking up dynamically loaded symbols
+ * @param lib Dynamically loaded shared object, or RTLD_DEFAULT or RTLD_NEXT
+ * @return EINA_TRUE if call succeeded, EINA_FALSE if glsym was undefined or an error occurred
+ *
+ * The RTLD_DEFAULT and RTLD_NEXT pseudo-handles can be passed as lib to
+ * look up the first or next occurance of the desired symbol in the dynamic
+ * library search order.
+ *
+ * @see dlsym()
+ */
EAPI Eina_Bool ector_glsym_set(void *(*glsym)(void *lib, const char *name), void *lib);
/* Avoid redefinition of types */