pcre: add a comment for future knowledges.

db4
John Benediktsson 2014-07-10 16:33:20 -07:00
parent 452567f7d0
commit 4cc811badf
1 changed files with 2 additions and 0 deletions

View File

@ -60,6 +60,8 @@ ERROR: pcre-error value ;
: name-table ( pcre extra -- addr )
[ drop alien-address 32 on-bits unmask ]
! On at least win64, the pointer is returned as an int and is
! negative. Cast it to a uint and everything works.
[ PCRE_INFO_NAMETABLE pcre-fullinfo int <ref> uint deref ] 2bi + ;
: name-entry-size ( pcre extra -- size )