libc: removing &(free) and |(free) destructors which aren't really used.

db4
John Benediktsson 2014-11-20 19:51:10 -08:00
parent 45bd145596
commit 115511038d
2 changed files with 2 additions and 1 deletions

View File

@ -118,7 +118,6 @@ FUNCTION: size_t strlen ( c-string alien ) ;
FUNCTION: int system ( c-string command ) ;
DESTRUCTOR: free
DESTRUCTOR: (free)
! For libc.linux, libc.windows, libc.macosx...
<< "libc." os name>> append require >>

View File

@ -21,6 +21,8 @@ ERROR: invalid-demangle-args name ;
: mangled-name? ( name -- ? )
"_Z" head? ;
DESTRUCTOR: (free)
:: demangle ( mangled-name -- c++-name )
0 ulong <ref> :> length
0 int <ref> :> status [