Initial data commit
This commit is contained in:
parent
72d218235f
commit
f23f22d71c
199087 changed files with 3378941 additions and 0 deletions
1
Task/Memory-allocation/Factor/memory-allocation-1.factor
Normal file
1
Task/Memory-allocation/Factor/memory-allocation-1.factor
Normal file
|
|
@ -0,0 +1 @@
|
|||
2000 malloc (...do stuff..) free
|
||||
6
Task/Memory-allocation/Factor/memory-allocation-2.factor
Normal file
6
Task/Memory-allocation/Factor/memory-allocation-2.factor
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
STRUCT: foo { a int } { b foo* } ;
|
||||
|
||||
[
|
||||
foo malloc-struct &free ! gets freed at end of the current with-destructors scope
|
||||
! do stuff
|
||||
] with-destructors
|
||||
Loading…
Add table
Add a link
Reference in a new issue