[plt-scheme] v299 scheme_make_cptr

From: Ron Stanonik (stanonik at Cogsci.ucsd.edu)
Date: Fri Oct 22 17:15:11 EDT 2004

In v299 the second argument to scheme_make_cptr changed from (char *)
to (Scheme_Object *).  So, instead of

  scheme_make_cptr(rectp, "rectangle")

I guess I should

  scheme_make_cptr(rectp, scheme_intern_symbol("rectangle"))

or

  scheme_make_cptr(rectp, scheme_make_byte_string("rectangle"))

Any reason to prefer one over the other?

Thanks,

Ron
stanonik at cogsci.ucsd.edu



Posted on the users mailing list.