Re: modifying pointers

2010-04-09 Thread Andy Wingo
Hi! On Fri 09 Apr 2010 21:46, l...@gnu.org (Ludovic Courtès) writes: > Andy Wingo writes: > >> I'm just wondering if it is valid to create a ((void*) 777) pointer. >> Under what condition is that useful? > [...] > It opens the door to all sorts of crazy things. :-) Cool :) FWIW, let's kick th

Re: modifying pointers

2010-04-09 Thread Ludovic Courtès
Hello, Andy Wingo writes: > On Fri 09 Apr 2010 18:30, l...@gnu.org (Ludovic Courtès) writes: > >> Andy Wingo writes: >> >>> You added a change to foreign-set! for %null-pointer. Would it not make >>> sense instead to make foreign pointers of type "void" unsettable? >> >> Not necessarily. See t

Re: modifying pointers

2010-04-09 Thread Andy Wingo
Hi, On Fri 09 Apr 2010 18:30, l...@gnu.org (Ludovic Courtès) writes: > Andy Wingo writes: > >> You added a change to foreign-set! for %null-pointer. Would it not make >> sense instead to make foreign pointers of type "void" unsettable? > > Not necessarily. See the test that was added: > > (pa

Re: modifying pointers

2010-04-09 Thread Ludovic Courtès
Hi, Andy Wingo writes: > You added a change to foreign-set! for %null-pointer. Would it not make > sense instead to make foreign pointers of type "void" unsettable? Not necessarily. See the test that was added: --8<---cut here---start->8--- (pass-if "fore

modifying pointers

2010-04-09 Thread Andy Wingo
Hi Ludo, You added a change to foreign-set! for %null-pointer. Would it not make sense instead to make foreign pointers of type "void" unsettable? Andy -- http://wingolog.org/