embind used it for a bit.  I'm not sure it does anymore...


On Thu, Apr 11, 2013 at 6:55 AM, juj <notifications@github.com> wrote:

> In system/include/emscripten/emscripten.h:
>
> > @@ -24,7 +24,7 @@
> >   *                 with closure, asm.js, etc. For example
> >   *                   -s EXPORTED_FUNCTIONS=["_main", "myfunc"]
> >   */
> > -/* #define EMSCRIPTEN_KEEPALIVE __attribute__((used)) */
> > +#define EMSCRIPTEN_KEEPALIVE __attribute__((used))
>
> @chadaustin <https://github.com/chadaustin> removed the use of
> EMSCRIPTEN_KEEPALIVE in this commit imvu@8f165e7<https://github.com/imvu/emscripten/commit/8f165e7ef10b3de1cd6023e55d461fef60df2461>on 2/2/2013 3:15:19 AM after you had removed the define back in 1/1/2013.
> But then, only two hours later, he added EMSCRIPTEN_KEEPALIVE back in
> imvu@cbf636a<https://github.com/imvu/emscripten/commit/cbf636a88bcfcabf084331fc4d8a445cacb158f9>.
>
> The comments don't give a reason why it was restored. Chad, can you
> remember what happened without having EMSCRIPTEN_KEEPALIVE there? Is it
> still needed?
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/kripken/emscripten/pull/1044/files#r3753505>
> .
>



-- 
Chad Austin
Technical Director, IMVU
http://www.imvu.com/members/Chad/