Embedding, Symbols.ev, and static symbols

Marc Lehmann schmorp at schmorp.de
Thu Aug 25 17:15:14 CEST 2011


On Thu, Aug 25, 2011 at 11:00:31AM -0400, ghudson at MIT.EDU wrote:
> Second, I wouldn't need to rename symbols if libev had a way to define
> its API functions as statics.  It would be nice to have support for
> something like "#define EV_STATIC_API 1", so I wouldn't need to have a
> generated header file in my build system.

Unfortunately, it's more difficult - I don't see an easy way to make the
ev_default_loop_ptr a static symbol, without much ugly trickery.

-- 
                The choice of a       Deliantra, the free code+content MORPG
      -----==-     _GNU_              http://www.deliantra.net
      ----==-- _       generation
      ---==---(_)__  __ ____  __      Marc Lehmann
      --==---/ / _ \/ // /\ \/ /      schmorp at schmorp.de
      -=====/_/_//_/\_,_/ /_/\_\



More information about the libev mailing list