Commits

Amaury Forgeot d'Arc  committed dd80304

Enfore argument type for this function, to help some tests.

  • Participants
  • Parent commits 46f58d4
  • Branches jit-shadowstack

Comments (0)

Files changed (1)

File pypy/rpython/lltypesystem/rffi.py

     def charpsize2str(cp, size):
         l = [cp[i] for i in range(size)]
         return emptystr.join(l)
+    charpsize2str._annenforceargs_ = [None, int]
 
     return (str2charp, free_charp, charp2str,
             get_nonmovingbuffer, free_nonmovingbuffer,