Ah, smart ;)
2012/12/30 Benoît Minisini
> Le 30/12/2012 03:18, Emil Lenngren a écrit :
> > What's the point to be able to convert pointers to strings (take the
> > numerical value of the pointer)?
> > If I would like a string representation of a pointer I would at least
> want
> > it in hexadeci
Le 30/12/2012 03:18, Emil Lenngren a écrit :
> What's the point to be able to convert pointers to strings (take the
> numerical value of the pointer)?
> If I would like a string representation of a pointer I would at least want
> it in hexadecimal form.
> But I also think most people that convert p
What's the point to be able to convert pointers to strings (take the
numerical value of the pointer)?
If I would like a string representation of a pointer I would at least want
it in hexadecimal form.
But I also think most people that convert pointers to strings want to get
the string out of a char
In gbx, source file gbc_value.c
572: __p2s:
573:#if OS_64BITS
574:value->_long.value = (int64_t)(intptr_t)value->_pointer.value;
575:goto __l2s;
576:#else
577:value->_int.value = (int)(intptr_t)value->_pointer.value;
578:goto __i2s;
579:#