Skip to content

Commit 8f5e345

Browse files
NpellaNolwenn Pellard
and
Nolwenn Pellard
authored
Correction to paths to the lib (#4)
* 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]>
1 parent b1bd500 commit 8f5e345

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

src/BaselineOfPharoZeroMQ/BaselineOfPharoZeroMQ.class.st

-2
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
Class {
22
#name : #BaselineOfPharoZeroMQ,
33

4-
54
#superclass : #BaselineOf,
6-
75
#category : #BaselineOfPharoZeroMQ
86
}
97

src/ZMQ/LibZMQ.class.st

+8-6
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ LibZMQ class >> repositoryDirectory [
1616

1717
| expectedName myRepository |
1818
expectedName := 'pharozeromq'.
19+
1920
myRepository := IceRepository registry
2021
detect: [ :each |
2122
each name asLowercase = expectedName ]
@@ -27,19 +28,20 @@ LibZMQ class >> repositoryDirectory [
2728
]
2829

2930
{ #category : #'accessing platform' }
30-
LibZMQ >> macModuleName [
3131

32-
^ self class repositoryDirectory / 'include' / 'libzmq.dylib'
32+
LibZMQ >> macLibraryName [
33+
34+
^ (self class repositoryDirectory / 'include' / 'libzmq.dylib') asFileReference pathString
3335
]
3436

3537
{ #category : #'accessing platform' }
36-
LibZMQ >> unixModuleName [
38+
LibZMQ >> unixLibraryName [
3739

38-
^ self class repositoryDirectory / 'include' / 'libzmq.so'
40+
^ (self class repositoryDirectory / 'include' / 'libzmq.so') asFileReference pathString
3941
]
4042

4143
{ #category : #'accessing platform' }
42-
LibZMQ >> win32ModuleName [
44+
LibZMQ >> win32LibraryName [
4345

44-
^self class repositoryDirectory / 'include' / 'zmq.dll'
46+
^ (self class repositoryDirectory / 'include' / 'zmq.dll') asFileReference pathString
4547
]

0 commit comments

Comments
 (0)