Skip to content

Commit

Permalink
Merge pull request #842 from RenaudFondeur/addCommentForMultipleHeade…
Browse files Browse the repository at this point in the history
…rInclude

add a comment explaining why declareCVarsIn: is empty in some subclasses
  • Loading branch information
guillep authored Aug 21, 2024
2 parents d9e7e20 + 74080fc commit cb4c644
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions smalltalksrc/VMMaker/ComposedImageReader.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ Class {

{ #category : 'translation' }
ComposedImageReader class >> declareCVarsIn: aCCodeGenerator [
"currently Slang lacks some support for subclasses: prevent <sys/stat.h> to be include a second time during C code generation as the superclass already includes it but declareCVarsIn: is called for each concrete class logging the warning inside addHeaderFile: method"
]

{ #category : 'reading' }
Expand Down
1 change: 1 addition & 0 deletions smalltalksrc/VMMaker/ComposedImageWriter.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ Class {

{ #category : 'translation' }
ComposedImageWriter class >> declareCVarsIn: aCCodeGenerator [
"currently Slang lacks some support for subclasses: prevent <sys/stat.h> to be include a second time during C code generation as the superclass already includes it but declareCVarsIn: is called for each concrete class logging the warning inside addHeaderFile: method"
]

{ #category : 'writing' }
Expand Down

0 comments on commit cb4c644

Please sign in to comment.