From: Wesley J Landaker Date: 2001-06-17T08:34:31+09:00 Subject: [ruby-talk:16548] garbage collection with rb_eval_string -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hey folks! I'm sure there is an easy answer for this, but I didn't come across it with a quick scan of the availible documentation... Using ruby embedded in a program, I have something like this: VALUE result = rb_eval_string(...); The question is... how do I tell ruby I'm going to be using the result, so that it will not be garbage collected? I vaguely remember seeing something about this before, but I can't find where I saw it anymore. =b~ Thanks! - -- Wesley J. Landaker - wjl@mindless.com http://www.landaker.net PGP DSS/DH Key: 0x0F338E07 PGPKey FP: 3AAA 424B B488 198E B68B C0E5 390A BACA 0F33 8E07 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6a (GNU/Linux) Comment: All your base are belong to us. iEYEARECAAYFAjsr7PoACgkQOQq6yg8zjgfTzgCfRP/xxlYjh4kk1hlgIOre9gdN znEAnivZv3Q8+Xwv5GtjSx8g6WXidSg6 =9eXS -----END PGP SIGNATURE-----