Kris Wong
11/08/2019, 3:44 PMval stat = cValue<stat>()
, and I want to pass it to the stat
funciton , which takes a stat*
, do I need to use getPointer
? the posix binding accepts a CValuesRef
. i just want to pass a pointer to the stack variable.Kris Wong
11/08/2019, 3:45 PMstat
Kris Wong
11/08/2019, 3:47 PMalloc
, but I don't need heap memoryKris Wong
11/08/2019, 3:51 PMKris Wong
11/08/2019, 3:55 PMKris Wong
11/08/2019, 3:57 PMalloc
instead worksKris Wong
11/08/2019, 4:04 PM