<fijal>
(pkg-config might not be a problem, just yet)
otisolsen70 has joined #pypy
Heston has quit [Ping timeout: 255 seconds]
<mattip>
did you mean to type pkg-config or pkg_config ?
<cfbolz>
ok, I'm making stat 25% faster and 2.4x without the jit
<mattip>
I brew installed emacs
<mattip>
fijal ^^^
<fijal>
thank you
<fijal>
mattip: today is a bit patchy, I don't know how much I'll do
otisolsen70 has quit [Quit: Leaving]
<mjacob>
kurisu: why not?
f4at has quit [Quit: bye]
f4at has joined #pypy
lritter has joined #pypy
<arigato>
kurisu: some python-isms can help you: for example, you could write
<arigato>
def f(x,y): ...
<arigato>
def g(x,y): ...
<arigato>
for myfunc in [f, g]: globals()[myfunc.__name__]=ffi.def_extern()(myfunc)
<arigato>
or maybe less obscurely:
<arigato>
ext=ffi.def_extern("some signature")
<arigato>
@ext
<arigato>
def f(x,y): ...
<arigato>
@ext
<arigato>
def g(x,y): ...
<arigato>
or, if you have another solution where the functions are partials/closures/etc., then yes, that works too, as long as you call ffi.def_extern() only once for each C extern "Python" function name
f4at has quit [Quit: bye]
bxsx has joined #pypy
mgorny has quit [Read error: Connection reset by peer]
sam_ has quit [Ping timeout: 250 seconds]
mgorny has joined #pypy
sam_ has joined #pypy
Guest96 has joined #pypy
Guest96 has quit [Client Quit]
marvin_ has quit [Remote host closed the connection]
marvin has joined #pypy
f4at has joined #pypy
bxsx has quit [Quit: leaving]
alice has quit [Remote host closed the connection]