github.com/pharo-vcs/libgit2-pharo-bindings

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

github.com/pharo-vcs/libgit2-pharo-bindings

jgfoster
This package defines LGitCallback and provides an implementation of #’initializeNull’. It also provides an extension that has an implementation of #’beNull’. Where is the variable ’thunk’ defined? Why is this in an extension?


https://github.com/pharo-vcs/libgit2-pharo-bindings/blob/master/LibGit-Core.package/LGitCallback.class/instance/initializeNull.st
instance initialization
initializeNull
       
        self beNull


https://github.com/pharo-vcs/libgit2-pharo-bindings/blob/master/LibGit-Compatibility-Pharo7.package/LGitCallback.extension/instance/beNull.st
*LibGit-Compatibility-Pharo7
beNull

        thunk := ExternalAddress null