Smalltalk/X generator improvements:
- generate C enums as SharedPools with accessors
- generate externa function calls using FFI. Not yet finished!
- CairoMappings improved.
"{ Package: 'cvut:fel/cface' }"
"{ NameSpace: Cface }"
CModifierNode subclass:#CUnsignedNode
instanceVariableNames:''
classVariableNames:''
poolDictionaries:''
category:'Cface-C AST'
!
!CUnsignedNode methodsFor:'accessing'!
ffiTypeSymbol
"Superclass Cface::CModifierNode says that I am responsible to implement this method"
^'u', type ffiTypeSymbol
"Created: / 03-07-2008 / 22:59:26 / Jan Vrany <vranyj1@fel.cvut.cz>"
! !
!CUnsignedNode methodsFor:'printing'!
printOn: stream indent: indent
stream
nextPutAll:'unsigned ';
cr;
next: indent + 1 put: Character tab.
type printOn: stream indent: indent + 1.
"Created: / 04-03-2008 / 10:57:12 / janfrog"
! !
!CUnsignedNode methodsFor:'testing'!
isCUnsignedNode
^ true
"Created: / 17-02-2008 / 21:52:38 / janfrog"
! !
!CUnsignedNode methodsFor:'visiting'!
acceptVisitor:aVisitor
"Double dispatch back to the visitor, passing my type encoded in
the selector (visitor pattern)"
"stub code automatically generated - please change if required"
^ aVisitor visitCUnsignedNode:self
"Created: / 12-02-2008 / 22:14:55 / janfrog"
! !
!CUnsignedNode class methodsFor:'documentation'!
version
^ '$Header: /opt/data/cvs/cvut-fel/cface/Cface__CUnsignedNode.st,v 1.1 2008/02/26 15:58:44 vranyj1 Exp $'
! !