Skip to content

Commit

Permalink
Merge pull request #2283 from BHare1985/update-zproject
Browse files Browse the repository at this point in the history
Problem: Out of date zproject
  • Loading branch information
sphaero committed Apr 12, 2024
2 parents 774eb3b + 1a727ce commit 24c658f
Show file tree
Hide file tree
Showing 13 changed files with 39 additions and 40 deletions.
6 changes: 3 additions & 3 deletions api/python_cffi.slurp
Original file line number Diff line number Diff line change
Expand Up @@ -2358,19 +2358,19 @@ void

// Connects process stdin with a readable ('>', connect) zeromq socket. If
// socket argument is NULL, zproc creates own managed pair of inproc
// sockets. The writable one is then accessbile via zproc_stdin method.
// sockets. The writable one is then accessible via zproc_stdin method.
void
zproc_set_stdin (zproc_t *self, void *socket);

// Connects process stdout with a writable ('@', bind) zeromq socket. If
// socket argument is NULL, zproc creates own managed pair of inproc
// sockets. The readable one is then accessbile via zproc_stdout method.
// sockets. The readable one is then accessible via zproc_stdout method.
void
zproc_set_stdout (zproc_t *self, void *socket);

// Connects process stderr with a writable ('@', bind) zeromq socket. If
// socket argument is NULL, zproc creates own managed pair of inproc
// sockets. The readable one is then accessbile via zproc_stderr method.
// sockets. The readable one is then accessible via zproc_stderr method.
void
zproc_set_stderr (zproc_t *self, void *socket);

Expand Down
6 changes: 3 additions & 3 deletions api/zproc.api
Original file line number Diff line number Diff line change
Expand Up @@ -46,21 +46,21 @@
<method name = "set stdin" >
Connects process stdin with a readable ('>', connect) zeromq socket. If
socket argument is NULL, zproc creates own managed pair of inproc
sockets. The writable one is then accessbile via zproc_stdin method.
sockets. The writable one is then accessible via zproc_stdin method.
<argument name = "socket" type = "anything" />
</method>

<method name = "set stdout" >
Connects process stdout with a writable ('@', bind) zeromq socket. If
socket argument is NULL, zproc creates own managed pair of inproc
sockets. The readable one is then accessbile via zproc_stdout method.
sockets. The readable one is then accessible via zproc_stdout method.
<argument name = "socket" type = "anything" />
</method>

<method name = "set stderr" >
Connects process stderr with a writable ('@', bind) zeromq socket. If
socket argument is NULL, zproc creates own managed pair of inproc
sockets. The readable one is then accessbile via zproc_stderr method.
sockets. The readable one is then accessible via zproc_stderr method.
<argument name = "socket" type = "anything" />
</method>

Expand Down
7 changes: 3 additions & 4 deletions bindings/delphi/CZMQ.pas
Original file line number Diff line number Diff line change
Expand Up @@ -3781,12 +3781,12 @@ TZlistx = class(TInterfacedObject, IZlistx)

// Add an item to the head of the list. Calls the item duplicator, if any,
// on the item. Resets cursor to list head. Returns an item handle on
// success, NULL if memory was exhausted.
// success.
function AddStart(Item: Pointer): Pointer;

// Add an item to the tail of the list. Calls the item duplicator, if any,
// on the item. Resets cursor to list head. Returns an item handle on
// success, NULL if memory was exhausted.
// success.
function AddEnd(Item: Pointer): Pointer;

// Return the number of items in the list
Expand Down Expand Up @@ -3868,8 +3868,7 @@ TZlistx = class(TInterfacedObject, IZlistx)
// duplicator, if any, on the item. If low_value is true, starts searching
// from the start of the list, otherwise searches from the end. Use the item
// comparator, if any, to find where to place the new node. Returns a handle
// to the new node, or NULL if memory was exhausted. Resets the cursor to the
// list head.
// to the new node. Resets the cursor to the list head.
function Insert(Item: Pointer; LowValue: Boolean): Pointer;

// Move an item, specified by handle, into position in a sorted list. Uses
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ public void setEnv (Zhash arguments) {
/*
Connects process stdin with a readable ('>', connect) zeromq socket. If
socket argument is NULL, zproc creates own managed pair of inproc
sockets. The writable one is then accessbile via zproc_stdin method.
sockets. The writable one is then accessible via zproc_stdin method.
*/
native static void __setStdin (long self, long socket);
public void setStdin (long socket) {
Expand All @@ -91,7 +91,7 @@ public void setStdin (long socket) {
/*
Connects process stdout with a writable ('@', bind) zeromq socket. If
socket argument is NULL, zproc creates own managed pair of inproc
sockets. The readable one is then accessbile via zproc_stdout method.
sockets. The readable one is then accessible via zproc_stdout method.
*/
native static void __setStdout (long self, long socket);
public void setStdout (long socket) {
Expand All @@ -100,7 +100,7 @@ public void setStdout (long socket) {
/*
Connects process stderr with a writable ('@', bind) zeromq socket. If
socket argument is NULL, zproc creates own managed pair of inproc
sockets. The readable one is then accessbile via zproc_stderr method.
sockets. The readable one is then accessible via zproc_stderr method.
*/
native static void __setStderr (long self, long socket);
public void setStderr (long socket) {
Expand Down
6 changes: 3 additions & 3 deletions bindings/lua_ffi/czmq_ffi.lua
Original file line number Diff line number Diff line change
Expand Up @@ -2353,19 +2353,19 @@ void

// Connects process stdin with a readable ('>', connect) zeromq socket. If
// socket argument is NULL, zproc creates own managed pair of inproc
// sockets. The writable one is then accessbile via zproc_stdin method.
// sockets. The writable one is then accessible via zproc_stdin method.
void
zproc_set_stdin (zproc_t *self, void *socket);

// Connects process stdout with a writable ('@', bind) zeromq socket. If
// socket argument is NULL, zproc creates own managed pair of inproc
// sockets. The readable one is then accessbile via zproc_stdout method.
// sockets. The readable one is then accessible via zproc_stdout method.
void
zproc_set_stdout (zproc_t *self, void *socket);

// Connects process stderr with a writable ('@', bind) zeromq socket. If
// socket argument is NULL, zproc creates own managed pair of inproc
// sockets. The readable one is then accessbile via zproc_stderr method.
// sockets. The readable one is then accessible via zproc_stderr method.
void
zproc_set_stderr (zproc_t *self, void *socket);

Expand Down
6 changes: 3 additions & 3 deletions bindings/python/czmq/_czmq_ctypes.py
Original file line number Diff line number Diff line change
Expand Up @@ -5081,23 +5081,23 @@ def set_stdin(self, socket):
"""
Connects process stdin with a readable ('>', connect) zeromq socket. If
socket argument is NULL, zproc creates own managed pair of inproc
sockets. The writable one is then accessbile via zproc_stdin method.
sockets. The writable one is then accessible via zproc_stdin method.
"""
return lib.zproc_set_stdin(self._as_parameter_, socket)

def set_stdout(self, socket):
"""
Connects process stdout with a writable ('@', bind) zeromq socket. If
socket argument is NULL, zproc creates own managed pair of inproc
sockets. The readable one is then accessbile via zproc_stdout method.
sockets. The readable one is then accessible via zproc_stdout method.
"""
return lib.zproc_set_stdout(self._as_parameter_, socket)

def set_stderr(self, socket):
"""
Connects process stderr with a writable ('@', bind) zeromq socket. If
socket argument is NULL, zproc creates own managed pair of inproc
sockets. The readable one is then accessbile via zproc_stderr method.
sockets. The readable one is then accessible via zproc_stderr method.
"""
return lib.zproc_set_stderr(self._as_parameter_, socket)

Expand Down
6 changes: 3 additions & 3 deletions bindings/python_cffi/czmq_cffi/Zproc.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,23 +64,23 @@ def set_stdin(self, socket):
"""
Connects process stdin with a readable ('>', connect) zeromq socket. If
socket argument is NULL, zproc creates own managed pair of inproc
sockets. The writable one is then accessbile via zproc_stdin method.
sockets. The writable one is then accessible via zproc_stdin method.
"""
utils.lib.zproc_set_stdin(self._p, socket._p)

def set_stdout(self, socket):
"""
Connects process stdout with a writable ('@', bind) zeromq socket. If
socket argument is NULL, zproc creates own managed pair of inproc
sockets. The readable one is then accessbile via zproc_stdout method.
sockets. The readable one is then accessible via zproc_stdout method.
"""
utils.lib.zproc_set_stdout(self._p, socket._p)

def set_stderr(self, socket):
"""
Connects process stderr with a writable ('@', bind) zeromq socket. If
socket argument is NULL, zproc creates own managed pair of inproc
sockets. The readable one is then accessbile via zproc_stderr method.
sockets. The readable one is then accessible via zproc_stderr method.
"""
utils.lib.zproc_set_stderr(self._p, socket._p)

Expand Down
6 changes: 3 additions & 3 deletions bindings/python_cffi/czmq_cffi/cdefs.py
Original file line number Diff line number Diff line change
Expand Up @@ -2360,19 +2360,19 @@
// Connects process stdin with a readable ('>', connect) zeromq socket. If
// socket argument is NULL, zproc creates own managed pair of inproc
// sockets. The writable one is then accessbile via zproc_stdin method.
// sockets. The writable one is then accessible via zproc_stdin method.
void
zproc_set_stdin (zproc_t *self, void *socket);
// Connects process stdout with a writable ('@', bind) zeromq socket. If
// socket argument is NULL, zproc creates own managed pair of inproc
// sockets. The readable one is then accessbile via zproc_stdout method.
// sockets. The readable one is then accessible via zproc_stdout method.
void
zproc_set_stdout (zproc_t *self, void *socket);
// Connects process stderr with a writable ('@', bind) zeromq socket. If
// socket argument is NULL, zproc creates own managed pair of inproc
// sockets. The readable one is then accessbile via zproc_stderr method.
// sockets. The readable one is then accessible via zproc_stderr method.
void
zproc_set_stderr (zproc_t *self, void *socket);
Expand Down
6 changes: 3 additions & 3 deletions bindings/qml/src/QmlZproc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -40,23 +40,23 @@ void QmlZproc::setEnv (QmlZhash *arguments) {
///
// Connects process stdin with a readable ('>', connect) zeromq socket. If
// socket argument is NULL, zproc creates own managed pair of inproc
// sockets. The writable one is then accessbile via zproc_stdin method.
// sockets. The writable one is then accessible via zproc_stdin method.
void QmlZproc::setStdin (void *socket) {
zproc_set_stdin (self, socket);
};

///
// Connects process stdout with a writable ('@', bind) zeromq socket. If
// socket argument is NULL, zproc creates own managed pair of inproc
// sockets. The readable one is then accessbile via zproc_stdout method.
// sockets. The readable one is then accessible via zproc_stdout method.
void QmlZproc::setStdout (void *socket) {
zproc_set_stdout (self, socket);
};

///
// Connects process stderr with a writable ('@', bind) zeromq socket. If
// socket argument is NULL, zproc creates own managed pair of inproc
// sockets. The readable one is then accessbile via zproc_stderr method.
// sockets. The readable one is then accessible via zproc_stderr method.
void QmlZproc::setStderr (void *socket) {
zproc_set_stderr (self, socket);
};
Expand Down
6 changes: 3 additions & 3 deletions bindings/qml/src/QmlZproc.h
Original file line number Diff line number Diff line change
Expand Up @@ -45,17 +45,17 @@ public slots:

// Connects process stdin with a readable ('>', connect) zeromq socket. If
// socket argument is NULL, zproc creates own managed pair of inproc
// sockets. The writable one is then accessbile via zproc_stdin method.
// sockets. The writable one is then accessible via zproc_stdin method.
void setStdin (void *socket);

// Connects process stdout with a writable ('@', bind) zeromq socket. If
// socket argument is NULL, zproc creates own managed pair of inproc
// sockets. The readable one is then accessbile via zproc_stdout method.
// sockets. The readable one is then accessible via zproc_stdout method.
void setStdout (void *socket);

// Connects process stderr with a writable ('@', bind) zeromq socket. If
// socket argument is NULL, zproc creates own managed pair of inproc
// sockets. The readable one is then accessbile via zproc_stderr method.
// sockets. The readable one is then accessible via zproc_stderr method.
void setStderr (void *socket);

// Return subprocess stdin writable socket. NULL for
Expand Down
6 changes: 3 additions & 3 deletions bindings/qt/src/qzproc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ void QZproc::setEnv (QZhash *arguments)
///
// Connects process stdin with a readable ('>', connect) zeromq socket. If
// socket argument is NULL, zproc creates own managed pair of inproc
// sockets. The writable one is then accessbile via zproc_stdin method.
// sockets. The writable one is then accessible via zproc_stdin method.
void QZproc::setStdin (void *socket)
{
zproc_set_stdin (self, socket);
Expand All @@ -70,7 +70,7 @@ void QZproc::setStdin (void *socket)
///
// Connects process stdout with a writable ('@', bind) zeromq socket. If
// socket argument is NULL, zproc creates own managed pair of inproc
// sockets. The readable one is then accessbile via zproc_stdout method.
// sockets. The readable one is then accessible via zproc_stdout method.
void QZproc::setStdout (void *socket)
{
zproc_set_stdout (self, socket);
Expand All @@ -80,7 +80,7 @@ void QZproc::setStdout (void *socket)
///
// Connects process stderr with a writable ('@', bind) zeromq socket. If
// socket argument is NULL, zproc creates own managed pair of inproc
// sockets. The readable one is then accessbile via zproc_stderr method.
// sockets. The readable one is then accessible via zproc_stderr method.
void QZproc::setStderr (void *socket)
{
zproc_set_stderr (self, socket);
Expand Down
6 changes: 3 additions & 3 deletions bindings/qt/src/qzproc.h
Original file line number Diff line number Diff line change
Expand Up @@ -38,17 +38,17 @@ class QT_CZMQ_EXPORT QZproc : public QObject

// Connects process stdin with a readable ('>', connect) zeromq socket. If
// socket argument is NULL, zproc creates own managed pair of inproc
// sockets. The writable one is then accessbile via zproc_stdin method.
// sockets. The writable one is then accessible via zproc_stdin method.
void setStdin (void *socket);

// Connects process stdout with a writable ('@', bind) zeromq socket. If
// socket argument is NULL, zproc creates own managed pair of inproc
// sockets. The readable one is then accessbile via zproc_stdout method.
// sockets. The readable one is then accessible via zproc_stdout method.
void setStdout (void *socket);

// Connects process stderr with a writable ('@', bind) zeromq socket. If
// socket argument is NULL, zproc creates own managed pair of inproc
// sockets. The readable one is then accessbile via zproc_stderr method.
// sockets. The readable one is then accessible via zproc_stderr method.
void setStderr (void *socket);

// Return subprocess stdin writable socket. NULL for
Expand Down
6 changes: 3 additions & 3 deletions bindings/ruby/lib/czmq/ffi/zproc.rb
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ def set_env(arguments)

# Connects process stdin with a readable ('>', connect) zeromq socket. If
# socket argument is NULL, zproc creates own managed pair of inproc
# sockets. The writable one is then accessbile via zproc_stdin method.
# sockets. The writable one is then accessible via zproc_stdin method.
#
# @param socket [::FFI::Pointer, #to_ptr]
# @return [void]
Expand All @@ -158,7 +158,7 @@ def set_stdin(socket)

# Connects process stdout with a writable ('@', bind) zeromq socket. If
# socket argument is NULL, zproc creates own managed pair of inproc
# sockets. The readable one is then accessbile via zproc_stdout method.
# sockets. The readable one is then accessible via zproc_stdout method.
#
# @param socket [::FFI::Pointer, #to_ptr]
# @return [void]
Expand All @@ -171,7 +171,7 @@ def set_stdout(socket)

# Connects process stderr with a writable ('@', bind) zeromq socket. If
# socket argument is NULL, zproc creates own managed pair of inproc
# sockets. The readable one is then accessbile via zproc_stderr method.
# sockets. The readable one is then accessible via zproc_stderr method.
#
# @param socket [::FFI::Pointer, #to_ptr]
# @return [void]
Expand Down

0 comments on commit 24c658f

Please sign in to comment.