IRC channel logs


back to list of logs

<taw10>Haha, I was confused for a coupld of hours when I couldn't define a method in Scheme for my C-defined foreign object types. Kind of obvious in the end: you have to call scm_define to bind the name (symbol) to the type itself
<taw10>Should I send a patch for the manual (which doesn't mention this explicitly), or is it already obvious to everyone except me?
<taw10>The code on this page should end with "scm_define(name, image_type)":
<taw10>Perhaps also a note that "yes, you DO need to include the triangle brackets around the type in the C code"
<vldn>how to import used modules from another module automatically?
<mwette>sneek: later tell vldn, start with (mdoule-uses (resolve-module
<sneek>Will do.
<mwette>sneek: later tell vldn, maybe start with (module-uses (resolve-module '(your module path)))
<sneek>Will do.