Re: Passing C pointers through guile

2008-07-10 Thread Kjetil S. Matheussen
Ludovic Courtès: > Sure, if you just do this now and then, SMOBs aren't a problem. > But that doesn't change the fact that all the functionality SMOB > provides is overkill when the only thing you need is to hold > a pointer. It's not overkill, it's exactly what you need: disjoint SMOB type, `f

Re: make-hash-table: Wrong type argument

2008-07-10 Thread Ludovic Courtès
Hi, "Shakthi Kannan" <[EMAIL PROTECTED]> writes: > Newbie here. I am trying to pass key/value to a procedure to add it to > the hash-table. It fails at: > > "you"ERROR: In procedure hash_fn_create_handle_x: > ERROR: Wrong type argument in position 1: "foo" Note: If you run Guile with `--debug',