cosmoharrigan / rl-glue

Automatically exported from code.google.com/p/rl-glue
0 stars 0 forks source link

RL_glue.c -- returning structs from functions #75

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I made most of the structs in RL_glue.c local in the functions rather than
global.

I wonder what the implications of this are when they are sent wherever they
go.  Are there weird memory leaks or anything happening?  Where is the
memory actually allocated, where is it free, and what happens when you
return structs with heap-arrays from functions?

Original issue reported on code.google.com by brian.ta...@gmail.com on 7 Sep 2008 at 6:22

GoogleCodeExporter commented 9 years ago
I'm convinced this is safe now.

Original comment by brian.ta...@gmail.com on 14 Sep 2008 at 9:49