2016-11-18 18:11:13 +00:00
|
|
|
#class(#word) Stdio(Object)
|
|
|
|
{
|
2016-11-21 13:56:20 +00:00
|
|
|
|
2016-11-18 18:11:13 +00:00
|
|
|
#method(#class) new: size
|
|
|
|
{
|
|
|
|
##self prohibited
|
|
|
|
##raise exception. prohibited...
|
2016-11-21 13:56:20 +00:00
|
|
|
^(super new: 1)
|
2016-11-18 18:11:13 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
#method(#class) new
|
|
|
|
{
|
|
|
|
##self prohibited
|
|
|
|
##raise exception. prohibited...
|
2016-11-21 13:56:20 +00:00
|
|
|
^(super new: 1)
|
2016-11-18 18:11:13 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
#method(#class) open: name for: mode
|
|
|
|
{
|
|
|
|
^(super new: 1) open: name for: mode
|
|
|
|
}
|
|
|
|
|
|
|
|
#method open: name for: mode
|
|
|
|
{
|
|
|
|
<primitive: #stdio_open>
|
|
|
|
}
|
|
|
|
|
|
|
|
#method close
|
|
|
|
{
|
|
|
|
<primitive: #stdio_close>
|
|
|
|
}
|
|
|
|
|
|
|
|
#method xxx
|
|
|
|
{
|
|
|
|
self basicSize dump.
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-11-21 13:56:20 +00:00
|
|
|
#class(#word) Stdio2(Stdio)
|
2016-11-18 18:11:13 +00:00
|
|
|
{
|
2016-11-21 13:56:20 +00:00
|
|
|
#method(#class) new
|
|
|
|
{
|
|
|
|
##self prohibited
|
|
|
|
##raise exception. prohibited...
|
|
|
|
^(super new).
|
|
|
|
}
|
|
|
|
|
2016-11-18 18:11:13 +00:00
|
|
|
}
|