[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Problem calling scheme code from C++
From: |
Reinhold Kainhofer |
Subject: |
Re: Problem calling scheme code from C++ |
Date: |
Wed, 20 Aug 2008 23:10:10 +0200 |
User-agent: |
KMail/1.9.9 |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Am Mittwoch, 20. August 2008 schrieb Reinhold Kainhofer:
> One other thing I don't know how to do is to call a scheme function with a
> hard-coded name (e.g. I want to call the function (mensural-flag ...) with
> scm_call_2). How can I call that function explicitly from C++?
Never mind that question, I already found the (not very intuitively named)
solution:
ly_lily_module_constant ("mensural-flag")
Cheers,
Reinhold
- --
- ------------------------------------------------------------------
Reinhold Kainhofer, Vienna University of Technology, Austria
email: address@hidden, http://reinhold.kainhofer.com/
* Financial and Actuarial Mathematics, TU Wien, http://www.fam.tuwien.ac.at/
* K Desktop Environment, http://www.kde.org, KOrganizer maintainer
* Chorvereinigung "Jung-Wien", http://www.jung-wien.at/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
iD8DBQFIrIg7TqjEwhXvPN0RAmCmAKC1sCUrlFME6axRq0Pr2MaqSSjBcACeNav5
mamqi8UpQREefY6Qs5z7NCk=
=p469
-----END PGP SIGNATURE-----