Skip to content
  • Armin Rigo's avatar
    Change the API of rffi.get_nonmovingbuffer(), now renamed to · 19e211d4c76b
    Armin Rigo authored
    rffi.get_nonmovingbuffer_ll(), because it is not safe: it needs to return the
    real llstr object on which it operated, and this is the object that needs to be
    passed to free_nonmovingbuffer_ll().
    
    Otherwise, it's possible to come up with rpython code that would, say, convert
    a char to a string once for get() and once for free(), which defeats pinning.
    19e211d4c76b