forked from enlightenment/efl
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>
This commit is contained in:
parent
60e0e3d1d5
commit
19b704b700
|
@ -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 */
|
||||
|
|
Loading…
Reference in New Issue