20-May-2014

I have changed some more syntax in the files while transitioning from gh to scm interface.

Following are the changes done.

gh_ulong2scm
Used scm_from_ulong instead.
Files: drgeo_scm_interface.cc

gh_double2scm
Used scm_make_real instead.
Files: drgeo_scm_helper.cc, drgeo_scm_api.cc

gh_scm2int
Used scm_to_int instead.
Files: drgeo_scm_interface.cc

gh_scm2ulong
Used scm_to_ulong instead.
Files: drgeo_scm_api.cc, drgeo_scm_interface.cc

gh_scm2double
Used scm_to_double instead.
Files: drgeo_script.cc, drgeo_scm_api.cc, drgeo_scm_interface.cc, drgeo_scm_helper.cc

gh_scm2newstr
Used scm_to_locale_string or similar instead.
Files: drgenius_config.cc, drgeo_script.cc, drgeo_scm_interface.cc

gh_string_p
Used scm_is_string instead.
Files: drgeo_script.cc

gh_null_p
Used scm_is_null instead.
Files: drgeo_scm_interface.cc

gh_car and gh_cdr
Used scm_car and scm_cdr instead.
Files: drgeo_scm_interface.cc, drgeo_scm_helper.cc

gh_cxxr and gh_cxxxr
(Where each x is either ‘a’ or ‘d’.) Used the corresponding scm_cxxr or scm_cxxxr function instead.
Files: drgeo_scm_helper.cc

gh_list
Used scm_list_n instead.
Files: drgeo_scm_helper.cc

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s