>>I'm not 100% sure I understand your question, but as you can see from the example above the cdef call loads the symbol into the ffi.C namespace regardless of the invoking function's scope/environment You won't be polluting the global namespace with functions you don't actually call, which might be a lot if you pull in a truckload of bindings? Kaj