make the gle:: functions exposed to lua plain function pointers for performance; add new API to expose function pointers to lua