00:55:19 alms_ [~alms_@209-6-130-32.c3-0.bkl-ubr1.sbo-bkl.ma.cable.rcn.com] has joined #ccl 02:48:52 -!- alms_ [~alms_@209-6-130-32.c3-0.bkl-ubr1.sbo-bkl.ma.cable.rcn.com] has quit [Quit: alms_] 03:26:08 -!- rme [~rme@50.43.137.11] has quit [Quit: rme] 06:52:51 rme [~rme@50.43.137.11] has joined #ccl 06:55:57 -!- rme [rme@8CB7B04A.47C9A248.699BA7A6.IP] has quit [Quit: rme] 06:55:57 -!- rme [~rme@50.43.137.11] has quit [Client Quit] 07:01:16 KDr2 [~kdr2@123.112.73.31] has joined #ccl 07:11:57 jdz [~jdz@193.206.22.97] has joined #ccl 09:22:04 -!- KDr2 [~kdr2@123.112.73.31] has quit [Remote host closed the connection] 13:22:20 alms_ [~alms_@209-6-130-32.c3-0.bkl-ubr1.sbo-bkl.ma.cable.rcn.com] has joined #ccl 15:00:29 -!- jdz [~jdz@193.206.22.97] has quit [Quit: Byebye.] 15:13:09 jtza8 [~jtza8@196-215-120-164.dynamic.isadsl.co.za] has joined #ccl 15:27:16 rme [~rme@50.43.137.11] has joined #ccl 16:06:49 -!- alms_ [~alms_@209-6-130-32.c3-0.bkl-ubr1.sbo-bkl.ma.cable.rcn.com] has quit [Ping timeout: 260 seconds] 16:20:19 alms_ [~alms_@209-6-130-32.c3-0.bkl-ubr1.sbo-bkl.ma.cable.rcn.com] has joined #ccl 16:32:14 -!- alms_ [~alms_@209-6-130-32.c3-0.bkl-ubr1.sbo-bkl.ma.cable.rcn.com] has quit [Ping timeout: 245 seconds] 16:36:23 alms_ [~alms_@209-6-130-32.c3-0.bkl-ubr1.sbo-bkl.ma.cable.rcn.com] has joined #ccl 17:18:49 -!- alms_ [~alms_@209-6-130-32.c3-0.bkl-ubr1.sbo-bkl.ma.cable.rcn.com] has quit [Quit: alms_] 17:18:58 alms_ [~alms_@209-6-130-32.c3-0.bkl-ubr1.sbo-bkl.ma.cable.rcn.com] has joined #ccl 17:19:10 maggie / palter - sorry my internet has been going in and out all morning. 17:19:17 I can meet you in 1 minute. 17:19:22 #scrum 18:37:19 -!- sellout [~Adium@c-98-245-92-119.hsd1.co.comcast.net] has quit [Ping timeout: 260 seconds] 18:47:57 sellout [~Adium@c-98-245-92-119.hsd1.co.comcast.net] has joined #ccl 19:09:01 -!- sellout [~Adium@c-98-245-92-119.hsd1.co.comcast.net] has quit [Quit: Leaving.] 20:30:45 -!- jtza8 [~jtza8@196-215-120-164.dynamic.isadsl.co.za] has quit [Ping timeout: 248 seconds] 20:49:40 jtza8 [~jtza8@196-215-120-164.dynamic.isadsl.co.za] has joined #ccl 21:19:03 emit [~emit@unaffiliated/emit] has joined #ccl 21:22:34 after I do a (open-shared-library ..), is there a way i can print out all the imported function names? e.g. I was reading ch13.10 and didn't know i had to use void_void_test instead of _void_void_test when using linux 21:24:14 You could use /usr/bin/nm from the shell to print the symbols in the shared object file. 21:25:10 thanks 21:25:34 Historically, C functions would get an underscore prepended to them. That's not so common now, and in fact, I think that on platforms that still add the underscore, we might even try "_foo" if "foo" didn't resolve. 21:33:31 any tips on win32 .dll? I tested on linux and it works well, now I made a dll in visual studio and open-shared-library worked, but the mangled function name is a mystery 21:33:39 i've tried with _ without and with __ etc 21:36:58 ok i've found it using dumpbin /exports 21:37:01 (external "SystemFunction036") should work (that is, the output should say "resolved" in there somewhere). 21:37:38 ccl's FFI doesn't know about C++ 21:43:34 ah ok... doing extern "C" before __declspec(dllexport) made the exported function name "as is" 21:43:47 cool it works 21:44:41 -!- jtza8 [~jtza8@196-215-120-164.dynamic.isadsl.co.za] has quit [Quit: leaving] 21:47:57 -!- pirateking-_- [~piratekin@c-67-169-182-169.hsd1.ca.comcast.net] has quit [Quit: pirateking-_-] 22:05:29 emit: if you need to call a C++ function directly for some reason you can use the mangled name. 22:08:30 yup I've tried it. bizarre names though 22:09:45 ok so right now i'm doing (external-call "foo" :void) to call foo(). does that look up the function by string name each time? can i do something like call (external "foo") once, hold the external-entry-point and call it later 22:12:51 pirateking-_- [~piratekin@173-228-88-191.dsl.dynamic.sonic.net] has joined #ccl 22:15:37 emit: it doesn't look it up each time. 22:16:27 ok thanks 22:37:25 sellout [~Adium@c-98-245-90-138.hsd1.co.comcast.net] has joined #ccl 23:02:27 alms__ [~alms_@209-6-130-32.c3-0.bkl-ubr1.sbo-bkl.ma.cable.rcn.com] has joined #ccl 23:02:31 -!- alms_ [~alms_@209-6-130-32.c3-0.bkl-ubr1.sbo-bkl.ma.cable.rcn.com] has quit [Read error: Connection reset by peer] 23:02:31 -!- alms__ is now known as alms_ 23:10:25 bzzbzz_ [~franco@modemcable151.155-57-74.mc.videotron.ca] has joined #ccl 23:15:34 -!- sellout [~Adium@c-98-245-90-138.hsd1.co.comcast.net] has quit [Quit: Leaving.] 23:16:50 -!- bzzbzz [~franco@modemcable151.155-57-74.mc.videotron.ca] has quit [*.net *.split] 23:53:23 -!- rme [~rme@50.43.137.11] has quit [Quit: rme] 23:54:08 sellout [~Adium@c-98-245-92-119.hsd1.co.comcast.net] has joined #ccl 23:56:48 -!- pirateking-_- [~piratekin@173-228-88-191.dsl.dynamic.sonic.net] has quit [Quit: pirateking-_-]