Sam Garfinkel
06/25/2019, 5:29 PM&(PVOID&)foo
which is separately challenging me. PVOID is just an alias for void*. So I guess I need to figure out how to get the memory address of any particular CPointer (the actual pointer variable, not the pointed object).Dominaezzz
06/25/2019, 6:19 PMDominaezzz
06/25/2019, 6:21 PMmemScoped
and alloc
.Sam Garfinkel
06/25/2019, 6:24 PMval foo = staticCFunction
actually allocates on the heap like it would in cppSam Garfinkel
06/25/2019, 6:30 PMDominaezzz
06/25/2019, 6:39 PMDominaezzz
06/25/2019, 6:42 PMKris Wong
06/25/2019, 6:47 PMSam Garfinkel
06/25/2019, 6:49 PMKris Wong
06/25/2019, 6:53 PM