Safely use unsafe `pointer` usages



Is there any way to be safe with respect to GC unallocating objects from under you in 0.6 when constructing a pointer that lives longer than just a ccall?

For example, is there any way to make the equivalent in 0.6 more safe? In 0.7.0, the answer is to use . What about for 0.6?