mirror of
https://github.com/zeromq/libzmq.git
synced 2025-11-17 01:16:02 +01:00
Problem: zmq_send doc does not match declaration
Solution: add const to pointer type
This commit is contained in:
@@ -9,7 +9,7 @@ zmq_send - send a message part on a socket
|
||||
|
||||
SYNOPSIS
|
||||
--------
|
||||
*int zmq_send (void '*socket', void '*buf', size_t 'len', int 'flags');*
|
||||
*int zmq_send (void '*socket', const void '*buf', size_t 'len', int 'flags');*
|
||||
|
||||
|
||||
DESCRIPTION
|
||||
|
||||
@@ -9,7 +9,7 @@ zmq_send_const - send a constant-memory message part on a socket
|
||||
|
||||
SYNOPSIS
|
||||
--------
|
||||
*int zmq_send_const (void '*socket', void '*buf', size_t 'len', int 'flags');*
|
||||
*int zmq_send_const (void '*socket', const void '*buf', size_t 'len', int 'flags');*
|
||||
|
||||
|
||||
DESCRIPTION
|
||||
|
||||
Reference in New Issue
Block a user