Skip to content
This repository has been archived by the owner on Jan 5, 2023. It is now read-only.

Commit

Permalink
add comments
Browse files Browse the repository at this point in the history
  • Loading branch information
estebanlm committed Jun 4, 2020
1 parent b4a2fac commit a071ed0
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/ThreadedFFI/FFIBoolean32.class.st
@@ -1,3 +1,10 @@
"
! FFIBoolean32
Booleans in C are a convenience construction, and because of that each library chooses the definition of boolean they want. The most general convention is the one provided by *class:FFIBool*, and is equivalent to ushort (8bit), but time to time we need another.
The second most frequent boolean definition is the one provided by this class: uint32 (32bit).
"
Class {
#name : #FFIBoolean32,
#superclass : #FFIExternalType,
Expand Down
3 changes: 3 additions & 0 deletions src/ThreadedFFI/TFBoolean32Type.class.st
@@ -1,3 +1,6 @@
"
I define the TFFI type for FFIBoolean32
"
Class {
#name : #TFBoolean32Type,
#superclass : #TFBooleanType,
Expand Down

0 comments on commit a071ed0

Please sign in to comment.