Oh, I see. I though it was meant to be used interchangeably. I can't use
string->blob, though, because that will copy the data and I need to modify
it from C. What foreign type should I use for this sort of thing?
- (c-pointer char) with (location "string") works, but is a lot of typing
- scheme-
> I think I may have found a tiny bug in core. So instead of going on IRC and
> crying to Peter, I though I'd try it myself this time. I have a file like
> this:
>
> (print ((foreign-lambda* c-string ((blob x)) "x[0] = 65; return(x);")
> "xBC"))
>
> When I run this, everything works:
> $ ./type-t