Hi Factor list,

I noticed a doc error with the new mmapped c arrays: The help docs for 
e.g. 'with-mapped-uint-file' say that the word takes a length parameter, 
but it doesn't.

Unless I'm missing something the error is in io.mmap.functor

: with-mapped-A-file ( path length quot -- )
     '[ <mapped-A> @ ] with-mapped-file ; inline

whereas it should be

: with-mapped-A-file ( path quot -- )
     '[ <mapped-A> @ ] with-mapped-file ; inline

since with-mapped-file just takes 2 parameters.

Cheers,

Phil



------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Factor-talk mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/factor-talk

Reply via email to