On Oct 29, 2010, at 7:21 AM, Matthew Flatt wrote: > At Thu, 28 Oct 2010 14:46:30 -0700, John Clements wrote: >> Specifically, I moved the define-struct of cpointer into a module by itself, >> called ffi/unsafe/cvector-def; that way, my tool.rkt file can require this >> one-line module and attach it to the user's namespace using 'reset-console'. >> >> BUT: the cvector.rkt file wants to use "protect-out" to prevent others from >> using make-cvector explicitly, and I'm not sure how to do this after moving >> the structure definition into another file. > > Did you use `protect-out' to export from the new file? That should be > all you need to do, unless I misunderstand.
Ah! I was under the impression that something exported using "protect-out" could *only* be used as part of a certified macro expansion. I see that I was wrong. I've updated the docs slightly, in the push that I just made. Let me know if I'm making incorrect assumptions. John
smime.p7s
Description: S/MIME cryptographic signature
_________________________________________________ For list-related administrative tasks: http://lists.racket-lang.org/listinfo/dev

