Skip to content

Commit

Permalink
Correction to paths to the lib (#4)
Browse files Browse the repository at this point in the history
* Creation of Test classes, Example class, Constants initializations, Creation of class intefzces to use ZMQ

* More constants, correction on ZMQLibraryInterface getsockopt ,  new class to test getsockopt

* First version of ZeroMQ with Context and Sockets as Pharo Objects.

* Baselinof instead of Object type for BaselineofClass

* Access to zmq library modified

* madModule oto macLibrary and same for other os

* Correct path for the lib

---------

Co-authored-by: Nolwenn Pellard <[email protected]>
  • Loading branch information
Npella and Nolwenn Pellard authored Feb 27, 2024
1 parent b1bd500 commit 8f5e345
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
2 changes: 0 additions & 2 deletions src/BaselineOfPharoZeroMQ/BaselineOfPharoZeroMQ.class.st
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
Class {
#name : #BaselineOfPharoZeroMQ,


#superclass : #BaselineOf,

#category : #BaselineOfPharoZeroMQ
}

Expand Down
14 changes: 8 additions & 6 deletions src/ZMQ/LibZMQ.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ LibZMQ class >> repositoryDirectory [

| expectedName myRepository |
expectedName := 'pharozeromq'.

myRepository := IceRepository registry
detect: [ :each |
each name asLowercase = expectedName ]
Expand All @@ -27,19 +28,20 @@ LibZMQ class >> repositoryDirectory [
]

{ #category : #'accessing platform' }
LibZMQ >> macModuleName [

^ self class repositoryDirectory / 'include' / 'libzmq.dylib'
LibZMQ >> macLibraryName [

^ (self class repositoryDirectory / 'include' / 'libzmq.dylib') asFileReference pathString
]

{ #category : #'accessing platform' }
LibZMQ >> unixModuleName [
LibZMQ >> unixLibraryName [

^ self class repositoryDirectory / 'include' / 'libzmq.so'
^ (self class repositoryDirectory / 'include' / 'libzmq.so') asFileReference pathString
]

{ #category : #'accessing platform' }
LibZMQ >> win32ModuleName [
LibZMQ >> win32LibraryName [

^self class repositoryDirectory / 'include' / 'zmq.dll'
^ (self class repositoryDirectory / 'include' / 'zmq.dll') asFileReference pathString
]

0 comments on commit 8f5e345

Please sign in to comment.