Cface__SmalltalkXGenerator.st
changeset 28 6a2e82ddbca1
parent 27 5a58064b5921
child 29 91d5e0a30fa4
equal deleted inserted replaced
27:5a58064b5921 28:6a2e82ddbca1
   145 sourceForStructSize: size
   145 sourceForStructSize: size
   146 
   146 
   147     ^String streamContents:
   147     ^String streamContents:
   148         [:s|
   148         [:s|
   149         s 
   149         s 
   150             nextPutAll: 'structSize'; cr; cr;
   150             nextPutAll: 'structSize'; cr; 
       
   151             tab4; nextPutAll:'"Returns size of undelaying structure in bytes"'; cr;
       
   152             cr;
   151             tab4; 
   153             tab4; 
   152             nextPutAll: '^';
   154             nextPutAll: '^';
   153             nextPutAll: size printString
   155             nextPutAll: size printString
   154         ]
   156         ]
   155 
   157 
   156     "Created: / 09-09-2008 / 17:12:01 / Jan Vrany <vranyj1@fel.cvut.cz>"
   158     "Created: / 09-09-2008 / 17:12:01 / Jan Vrany <vranyj1@fel.cvut.cz>"
   157     "Modified: / 05-09-2012 / 11:48:34 / Jan Vrany <jan.vrany@fit.cvut.cz>"
   159     "Modified: / 10-09-2012 / 10:09:53 / Jan Vrany <jan.vrany@fit.cvut.cz>"
   158 ! !
   160 ! !
   159 
   161 
   160 !SmalltalkXGenerator methodsFor:'visiting'!
   162 !SmalltalkXGenerator methodsFor:'visiting'!
   161 
   163 
   162 visitCEnumNode: cEnumNode
   164 visitCEnumNode: cEnumNode