Re: [julia-users] JL_GC_PUSH* macro inconsistency?

2015-04-09 Thread Philip Roth
H` does not allocate space, it instead takes the > address(es) of existing variables and uses them as slots for the garbage > collector's reachability analysis. > > On Fri, Mar 27, 2015 at 4:12 PM Philip Roth > wrote: > >> >> I'm embedding calls to Julia co

[julia-users] JL_GC_PUSH* macro inconsistency?

2015-03-27 Thread Philip Roth
I'm embedding calls to Julia code within other languages, and have noticed what I think is an inconsistency in the implementation of the JL_GC_PUSH* macros. With the JL_GC_PUSH1, JL_GC_PUSH2, etc. macros, the documentation on embedding shows to pass the *address* of the jl_value_t pointer vari