cedric pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=19b704b70068cf340a148442441514ba16447d83

commit 19b704b70068cf340a148442441514ba16447d83
Author: Bryce Harrington <[email protected]>
Date:   Wed Jun 14 14:27:15 2017 -0700

    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 <[email protected]>
---
 src/lib/ector/Ector.h | 13 +++++++++++++
 1 file changed, 13 insertions(+)

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 */

-- 


Reply via email to