Skip to content

Commit

Permalink
Update 2-CodeConvention.md
Browse files Browse the repository at this point in the history
  • Loading branch information
tinchodias authored Jul 7, 2024
1 parent ff535c7 commit 097f82f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doc/2-CodeConvention.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Code Convention
# FFI Code Convention

We will show code convention about FFI calls with some examples.

Expand Down Expand Up @@ -62,4 +62,4 @@ newFor: aSurface
autoRelease;
yourself
```
Note the surface is passed to `initializeWith:`, which will store it in an instance variable. The reason is ensuring the Pharo's Garbage Collector doesn't release the surface while the context still needs it alive.
Note the surface is passed to `initializeWith:`, which will store it in an instance variable. The reason is ensuring the Pharo's Garbage Collector doesn't release the surface while the context still needs it alive.

0 comments on commit 097f82f

Please sign in to comment.