io.sockets: make addrspecs immutable

Slava Pestov 2010-09-04 18:49:27 -07:00
parent 2c7fee3345
commit a22f419ba4
2 changed files with 2 additions and 2 deletions

View File

@ -39,7 +39,7 @@ HOOK: <secure-context> secure-socket-backend ( config -- context )
with-disposal
] with-scope ; inline
TUPLE: secure addrspec ;
TUPLE: secure { addrspec read-only } ;
C: <secure> secure

View File

@ -51,7 +51,7 @@ HOOK: addrspec-of-family os ( af -- addrspec )
PRIVATE>
TUPLE: local path ;
TUPLE: local { path read-only } ;
: <local> ( path -- addrspec )
normalize-path local boa ;