<no-defun-allowed>
I prefer to handler-bind if we'd signal the error again, because then the debugger gives you a more interesting backtrace.
<drmeister>
Ok - I'll give that a try - thank you.
jprajzne has joined #lisp
mindCrime_ has quit [Ping timeout: 260 seconds]
<no-defun-allowed>
We have a macro that looks like handler-case but expands to handler-bind, so that we can just add an (invoke-debugger e) in the handler to see how things went wrong.
mindCrime_ has joined #lisp
<no-defun-allowed>
The word I'm looking for is "unwind"; handler-case unwinds too early, and the call frames that signalled are long gone.
notzmv` has joined #lisp
borei has quit [Ping timeout: 240 seconds]
notzmv has quit [Disconnected by services]
notzmv` is now known as notzmv
notzmv has quit [Changing host]
notzmv has joined #lisp
contrapunctus has left #lisp ["Disconnected: Replaced by new connection"]
Jeanne-Kamikaze has quit [Ping timeout: 272 seconds]
contrapunctus has joined #lisp
Volt_ has quit [Quit: ]
Oladon has quit [Quit: Leaving.]
johnjay has quit [Ping timeout: 272 seconds]
ggole has joined #lisp
johnjay has joined #lisp
orivej has joined #lisp
Fare has joined #lisp
Fare has quit [Ping timeout: 260 seconds]
orivej has quit [Ping timeout: 260 seconds]
<aeth>
I tend to use handler-case because I can actually remember how its syntax goes. A macro expanding to handler-bind is an interesting idea.
wxie has joined #lisp
orivej has joined #lisp
iissaacc has quit [Ping timeout: 260 seconds]
wxie has quit [Ping timeout: 260 seconds]
ajithmk_ has joined #lisp
ebzzry has joined #lisp
jprajzne has quit [Quit: jprajzne]
jprajzne has joined #lisp
jprajzne has quit [Quit: jprajzne]
jprajzne has joined #lisp
gravicappa has quit [Ping timeout: 256 seconds]
jprajzne has quit [Quit: jprajzne]
aartaka has joined #lisp
jprajzne has joined #lisp
IPmonger has quit [Quit: ZNC 1.7.5+deb4 - https://znc.in]
IPmonger has joined #lisp
ryloric has joined #lisp
drewc has quit [Remote host closed the connection]
drewc has joined #lisp
_whitelogger has joined #lisp
karlosz has joined #lisp
liberliver has joined #lisp
scymtym has quit [Ping timeout: 240 seconds]
bilegeek has quit [Quit: Leaving]
aartaka has quit [Ping timeout: 256 seconds]
hendursa1 has joined #lisp
hendursaga has quit [Ping timeout: 240 seconds]
edgar-rft has quit [Quit: Leaving]
ryloric has quit [Remote host closed the connection]
jw4 has quit [Read error: Connection reset by peer]
jw4 has joined #lisp
supercoven has joined #lisp
scymtym has joined #lisp
supercoven has quit [Max SendQ exceeded]
supercoven has joined #lisp
pve has joined #lisp
supercoven has quit [Max SendQ exceeded]
supercoven has joined #lisp
johnjay has quit [Remote host closed the connection]
karlosz has quit [Quit: karlosz]
jprajzne has joined #lisp
orivej has quit [Ping timeout: 260 seconds]
johnjay has joined #lisp
contrapunctus has left #lisp ["Disconnected: Replaced by new connection"]
contrapunctus has joined #lisp
contrapunctus has left #lisp ["Disconnected: closed"]
contrapunctus has joined #lisp
iissaacc has joined #lisp
hiroaki has joined #lisp
jprajzne has quit [Quit: jprajzne]
jprajzne has joined #lisp
jprajzne has quit [Client Quit]
jprajzne has joined #lisp
rippa has joined #lisp
montxero has quit [Ping timeout: 260 seconds]
Aurora_v_kosmose has quit [Ping timeout: 240 seconds]
Aurora_v_kosmose has joined #lisp
sonologico has quit [Remote host closed the connection]
jprajzne has quit [Quit: jprajzne]
jprajzne has joined #lisp
space_otter has quit [Remote host closed the connection]
edgar-rft has quit [Remote host closed the connection]
mindCrime_ has joined #lisp
edgar-rft has joined #lisp
Inline has joined #lisp
gko_ has quit [Ping timeout: 264 seconds]
jprajzne has quit [Quit: jprajzne]
ebzzry has quit [Read error: Connection reset by peer]
jprajzne has joined #lisp
edgar-rft has quit [Remote host closed the connection]
jprajzne has quit [Quit: jprajzne]
jprajzne has joined #lisp
narimiran has joined #lisp
zaquest has quit [Quit: Leaving]
notzmv` has joined #lisp
zaquest has joined #lisp
_paul0 has joined #lisp
paul0 has quit [Read error: Connection reset by peer]
notzmv has quit [Ping timeout: 256 seconds]
ajithmk_ has quit [Quit: Connection closed for inactivity]
jprajzne has quit [Quit: jprajzne]
jprajzne has joined #lisp
Lord_of_Life_ has joined #lisp
dominic34 has quit [Remote host closed the connection]
jprajzne has quit [Client Quit]
edgar-rft has joined #lisp
jprajzne has joined #lisp
Lord_of_Life has quit [Ping timeout: 272 seconds]
Lord_of_Life_ is now known as Lord_of_Life
galex-713 has quit [Ping timeout: 272 seconds]
space_otter has joined #lisp
supercoven has quit [Ping timeout: 272 seconds]
cosimone has joined #lisp
Inline has quit [Ping timeout: 272 seconds]
gaqwas has joined #lisp
gaqwas has joined #lisp
gaqwas has quit [Changing host]
Inline has joined #lisp
hendursa1 has quit [Quit: hendursa1]
hendursaga has joined #lisp
karlosz has joined #lisp
random-nick has quit [Ping timeout: 265 seconds]
jprajzne has quit [Quit: jprajzne]
jprajzne has joined #lisp
karlosz has quit [Client Quit]
random-nick has joined #lisp
karlosz has joined #lisp
Lycurgus has joined #lisp
wsinatra has quit [Quit: WeeChat 2.9]
jprajzne has quit [Quit: jprajzne]
jprajzne has joined #lisp
hiroaki has quit [Ping timeout: 272 seconds]
Fare has joined #lisp
gravicappa has quit [Ping timeout: 272 seconds]
gravicappa has joined #lisp
Bourne has quit [Ping timeout: 272 seconds]
jprajzne has quit [Quit: jprajzne]
jprajzne has joined #lisp
marusich has joined #lisp
jprajzne has quit [Client Quit]
jprajzne has joined #lisp
cosimone has quit [Quit: Quit.]
ukari has quit [Remote host closed the connection]
ukari has joined #lisp
jprajzne has quit [Quit: jprajzne]
jprajzne has joined #lisp
treflip has quit [Ping timeout: 260 seconds]
abhixec has quit [Ping timeout: 260 seconds]
abhixec has joined #lisp
jprajzne has quit [Client Quit]
jprajzne has joined #lisp
yitzi has quit [Read error: Connection reset by peer]
wsinatra has joined #lisp
Lycurgus has quit [Quit: Exeunt]
karlosz has quit [Quit: karlosz]
EvW has joined #lisp
CrazyEddy has quit [Ping timeout: 260 seconds]
notzmv`` has joined #lisp
notzmv` has quit [Ping timeout: 240 seconds]
jprajzne has quit [Quit: jprajzne]
jprajzne has joined #lisp
cosimone has joined #lisp
jprajzne has quit [Client Quit]
jprajzne has joined #lisp
narimiran has quit [Ping timeout: 258 seconds]
r_ny has joined #lisp
epony has quit [Remote host closed the connection]
terpri has joined #lisp
epony has joined #lisp
terpri_ has quit [Ping timeout: 260 seconds]
flak has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
CrazyEddy has joined #lisp
scymtym_ has joined #lisp
scymtym has quit [Ping timeout: 260 seconds]
ukari has quit [Remote host closed the connection]
scymtym_ has quit [Ping timeout: 260 seconds]
akoana has joined #lisp
johnjay has quit [Ping timeout: 260 seconds]
scymtym has joined #lisp
MichaelRaskin has quit [Quit: MichaelRaskin]
EvW has quit [Ping timeout: 260 seconds]
ggole has quit [Quit: Leaving]
gravicappa has quit [Ping timeout: 260 seconds]
Fare has quit [Ping timeout: 260 seconds]
EvW has joined #lisp
aartaka has joined #lisp
gjvc has joined #lisp
johnjay has joined #lisp
Volt_ has joined #lisp
gaqwas has quit [Ping timeout: 272 seconds]
jprajzne has quit [Quit: jprajzne]
r_ny has quit [Quit: leaving]
jprajzne has joined #lisp
gjvc has quit [Remote host closed the connection]
kaftejiman has quit [Remote host closed the connection]
gaqwas has joined #lisp
random-nick has quit [Ping timeout: 260 seconds]
Blukunfando has joined #lisp
pve has quit [Quit: leaving]
notzmv`` is now known as notzvm
notzvm is now known as notzmv
notzmv has joined #lisp
notzmv has quit [Changing host]
gaqwas has quit [Ping timeout: 260 seconds]
Fare has joined #lisp
shifty has joined #lisp
aartaka has quit [Read error: Connection reset by peer]
Inline has quit [Quit: Leaving]
rumbler31 has joined #lisp
rumbler31 has quit [Remote host closed the connection]
Fare has quit [Ping timeout: 260 seconds]
jprajzne has quit [Quit: jprajzne]
rumbler31 has joined #lisp
wsinatra has quit [Ping timeout: 260 seconds]
Fare has joined #lisp
yitzi has joined #lisp
jprajzne has joined #lisp
cosimone_ has joined #lisp
ealfonso has joined #lisp
cosimone has quit [Ping timeout: 260 seconds]
jprajzne has quit [Quit: jprajzne]
cosimone_ is now known as cosimone
rumbler31 has quit [Remote host closed the connection]
rumbler31 has joined #lisp
Jeanne-Kamikaze has quit [Quit: Leaving]
rumbler31 has quit [Ping timeout: 260 seconds]
Bourne has joined #lisp
AeroNotix has joined #lisp
<AeroNotix>
This might be a bit vague until I can make a dead simple test case, but I want to ask:
<AeroNotix>
I'm trying to allocate a C struct, where a field is supposed to be an array of structs.
<AeroNotix>
I want to allocate that array such as `(mapcar #'make-c-struct-from-thing list-of-lisp-things)`
<AeroNotix>
and then use `(foreign-alloc :pointer :initial-contents result-of-mapcar`
<AeroNotix>
but when I do, it appears that the pointers change. I.e. one of the structs has a `char*`
<AeroNotix>
if I dump the pointer of a `char*` before putting it into the array, I can see it has a specific value, when I access the same field via the array - the pointer is way wrong...
enzuru has joined #lisp
madage has quit [Ping timeout: 240 seconds]
madage has joined #lisp
patlv has joined #lisp
igemnace has joined #lisp
patlv has quit [Remote host closed the connection]