giedi has quit [Read error: 113 (No route to host)]
cjohnson has quit ["Drawn beyond the lines of reason"]
cjohnson has joined #ocaml
cjohnson has quit ["Drawn beyond the lines of reason"]
Kinners has left #ocaml []
<
mellum>
Can anybody recommend a tool for generating wrappers to C functions to call from Ocaml?
cjohnson has joined #ocaml
<
pattern>
SWIG is a popular one
<
pattern>
forklift very looked interesting also... but i've never tried either
<
Riastradh>
Is it really that hard to manually implement a couple stubs?
<
pattern>
i haven't tried that either
<
pattern>
far too advanced for me... some day, though
cjohnson has quit [Remote closed the connection]
<
mellum>
Riastradh: not hard, but error-prone
<
Riastradh>
Anything you do in C is highly error-prone.
<
Riastradh>
What makes an automatic stub generator less error-prone?
<
mellum>
Less likely to confuse the GC
<
mellum>
anyway, I'm going to bed now, see you...
_joey has joined #ocaml
ski has joined #ocaml
gim has quit [Connection timed out]
<
mattam>
Riastradh: if you had to interface libxml2 by hand ?
rox has quit [zelazny.freenode.net irc.freenode.net]
rox has joined #ocaml
cjohnson has joined #ocaml
housetier has quit ["#breaks @ irc.highteq.de"]
cjohnson has quit ["Drawn beyond the lines of reason"]
<
Nutssh>
How many functions are in the API?
cjohnson has joined #ocaml
pattern has quit [Read error: 110 (Connection timed out)]
cjohnson has quit [Remote closed the connection]
mr_jim has joined #ocaml
gim has joined #ocaml
tomasso has quit [Read error: 60 (Operation timed out)]
mr_jim has quit ["Leaving"]
ski has quit ["Darkness falls and nature sleeps ... Why do we still tromp about ?!?"]
tomasso has joined #ocaml
Nutssh has quit ["Client exiting"]
Nutssh has joined #ocaml
Nutssh has left #ocaml []
Kinners has joined #ocaml
Kinners has left #ocaml []
__DL__ has joined #ocaml
__DL__ has quit [Remote closed the connection]
Nutssh has joined #ocaml
gim_ has joined #ocaml
mimosa has joined #ocaml
lam has quit [Read error: 104 (Connection reset by peer)]
housetier has joined #ocaml
wazze has joined #ocaml
lam has joined #ocaml
_joey has quit [Remote closed the connection]
_joey has joined #ocaml
huiiiiii has joined #ocaml
huiiiiii has left #ocaml []
Nutssh has left #ocaml []
The-Fixer has quit ["Goodbye"]
_joey has quit ["leaving"]
Nutssh has joined #ocaml
_JusSx_ has joined #ocaml
Swynndla has quit ["Leaving"]
ott has joined #ocaml
Nutssh has quit ["Client exiting"]
cjohnson has joined #ocaml
cjohnson has quit ["Drawn beyond the lines of reason"]
cjohnson has joined #ocaml
<
Demitar>
Anyone got a clue? This makes no sense to me.
<
Demitar>
ocamlfind ocamlopt -package "unix" -a -linkpkg meta.cmx -o meta.cmxa
<
Demitar>
/usr/lib/ocaml/3.07/unix.cmxa is not a compilation unit description.
_izverg_ has joined #ocaml
_izverg_ is now known as izverg
wazze is now known as unizze
<
Demitar>
Seems like ocamlfind doesn't work as it should more than anything else though...
<
Demitar>
But it's probably due to the external C file.
izverg has left #ocaml []
The-Fixer has joined #ocaml
mattam_ has joined #ocaml
housetier has quit ["#breaks @ irc.highteq.de"]
mattam has quit [Read error: 110 (Connection timed out)]
unizze is now known as wazze
giedi has joined #ocaml
housetier has joined #ocaml
srv has quit [Read error: 60 (Operation timed out)]
_JusSx__ has joined #ocaml
_JusSx_ has quit [Read error: 60 (Operation timed out)]
malc has joined #ocaml
giedi has quit [Read error: 113 (No route to host)]
srv has joined #ocaml
_JusSx__ has quit ["[BX]
_JusSx_ has left the building"]
Vincenz has joined #ocaml
Nutssh has joined #ocaml
Swynndla has joined #ocaml
_JusSx_ has joined #ocaml
malc has quit ["no reason"]
Nutssh has quit ["Client exiting"]
Nutssh has joined #ocaml
det has quit [zelazny.freenode.net irc.freenode.net]
det has joined #ocaml
pattern has joined #ocaml
housetier has quit [Read error: 110 (Connection timed out)]
Nutssh has quit ["Client exiting"]
cjohnson has quit ["Drawn beyond the lines of reason"]
cjohnson has joined #ocaml
_JusSx_ has quit ["[BX] Time wasted: -21 days 6 hours 51 minutes -9 seconds -41 milliseconds"]
<
Smerdyakov>
Aw geez. I can't figure out how to use the num library.
carm has joined #ocaml
<
Smerdyakov>
Oh. It's called "nums", not "num".
<
carm>
Smerdyakov, are you referring to the module known as num in the ocaml manual?
pattern has quit [Read error: 104 (Connection reset by peer)]
<
carm>
I cant seem to reference it at all
<
carm>
could u give me an example of accessing a nums library function?
<
Smerdyakov>
#load "nums.cma";;
<
Smerdyakov>
open Num;;
<
carm>
that explains alot.
<
carm>
I always tried #load "num.cma" instead'
<
carm>
sweet, thanks again.