Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
pcre: add a comment for future knowledges.
  • Loading branch information
mrjbq7 committed Jul 10, 2014
1 parent 452567f commit 4cc811b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions extra/pcre/pcre.factor
Expand Up @@ -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 )
Expand Down

0 comments on commit 4cc811b

Please sign in to comment.