renamed stix_prim_mod_t to stix_mod_t and made relevant changes
added stix_bcstoucs() and stix_ucstobcs() added stix_setcmgr() and stix_getcmgr()
This commit is contained in:
@ -1,18 +1,24 @@
|
||||
#class(#word) Stdio(Object)
|
||||
## #class(#byte) Stdio(Object) from 'stdio'.
|
||||
|
||||
#class(#byte) Stdio(Object)
|
||||
{
|
||||
#method(#class) _newInstSize
|
||||
{
|
||||
<primitive: #stdio_newInstSize>
|
||||
}
|
||||
|
||||
#method(#class) new: size
|
||||
{
|
||||
##self prohibited
|
||||
##raise exception. prohibited...
|
||||
^(super new: 1)
|
||||
^(super new: (self _newInstSize))
|
||||
}
|
||||
|
||||
#method(#class) new
|
||||
{
|
||||
##self prohibited
|
||||
##raise exception. prohibited...
|
||||
^(super new: 1)
|
||||
^(super new: (self _newInstSize))
|
||||
}
|
||||
|
||||
#method(#class) open: name for: mode
|
||||
@ -29,14 +35,17 @@
|
||||
{
|
||||
<primitive: #stdio_close>
|
||||
}
|
||||
}
|
||||
|
||||
#method xxx
|
||||
#extend Stdio
|
||||
{
|
||||
#method xxxx
|
||||
{
|
||||
self basicSize dump.
|
||||
}
|
||||
}
|
||||
|
||||
#class(#word) Stdio2(Stdio)
|
||||
#class(#byte) Stdio2(Stdio)
|
||||
{
|
||||
#method(#class) new
|
||||
{
|
||||
|
@ -126,7 +126,7 @@
|
||||
|
||||
##v1 := Stdio2 open: '/tmp/1.txt' for: 'w+'.
|
||||
v1 := Stdio2 new open: '/tmp/1.txt' for: 'w+'.
|
||||
v1 xxx.
|
||||
v1 xxxx.
|
||||
v1 close.
|
||||
nil isNil ifTrue: [ 'NIL NIL NIL' dump. ].
|
||||
(Apex new) notNil ifTrue: [ 'APEX NIL NIL NIL' dump. ].
|
||||
|
Reference in New Issue
Block a user