io.sockets: make addrspecs immutable

db4
Slava Pestov 2010-09-04 18:49:27 -07:00
parent 4995d9153e
commit afbf4e9cb2
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 ;