Robert G. Jakabosky
3058dce215
Change where ZMQ_NOBLOCK is defined if missing.
14 years ago
Robert G. Jakabosky
0aa2ed8e3f
Add missing zmq.DONTWAIT constant for zmq 3.1 support.
...
For forwards & backward compatibility define both DONTWAIT & NOBLOCK
for all versions.
14 years ago
Robert G. Jakabosky
36fa3226ef
Fix exporting of zmq.poller C functions for FFI bindings.
14 years ago
Robert G. Jakabosky
b2aec4654e
Regenerate bindings.
...
Fix ffi detection code.
Split Lua code into multiple smaller C literals.
14 years ago
Robert G. Jakabosky
779a406957
Fix recv() method in FFI bindings.
14 years ago
Robert G. Jakabosky
8d780628a0
Fix compile errors with MSVC compiler.
14 years ago
Robert G. Jakabosky
7adc63d089
Fix problem with FFI support on windows.
14 years ago
Robert G. Jakabosky
38a3f21ba5
Disable ffi bindings support on windows for now.
14 years ago
Robert G. Jakabosky
a58d7ad389
Fix for building on Windows.
14 years ago
Robert G. Jakabosky
04208f1059
Change 'false' to 0 in C code.
14 years ago
Robert G. Jakabosky
f50970f7a1
Replace use of 'bool' type with 'int'.
14 years ago
Robert G. Jakabosky
a9b9ca278a
Register module as a global to support old code that doesn't save the
...
module to a local variable.
14 years ago
Robert G. Jakabosky
e8229c5b55
Remove debug print().
15 years ago
Robert G. Jakabosky
34e19cb65c
Update luvit FFI module path detection logic.
15 years ago
Robert G. Jakabosky
8200e8f54a
Fix loading of FFI bindings for luvit.
15 years ago
Robert G. Jakabosky
f0fd8edddc
Fix some Luvit issues.
15 years ago
Robert G. Jakabosky
a264b26c48
Fix recv() method when used with ZeroMQ 3.1.x
15 years ago
Robert G. Jakabosky
837eae2da6
Fix version checks.
15 years ago
Robert G. Jakabosky
56f51fd22c
Generate methods to get/set socket options.
15 years ago
Robert G. Jakabosky
67993e7953
Remove loading of libzmq.so/libzmq.dll for FFI bindings, since the symbols are accessible from zmq.so which we where loading.
15 years ago
Robert G. Jakabosky
26200cf9c0
Add custom c module loading code for luvit.
15 years ago
Robert G. Jakabosky
95367457f7
Remove some dead FFI code. Remove use of bit & debug modules.
15 years ago
Robert G. Jakabosky
96ec0ff278
Update FFI bindings.
15 years ago
Robert G. Jakabosky
c2dcd09181
Fix convertion of Ctx from cdata to lightuserdata for passing to sub-threads.
15 years ago
Robert G. Jakabosky
c5fc85c9cd
Fix bug in poller.
15 years ago
Robert G. Jakabosky
23db47708b
Update FFI bindings to be more pure (i.e. less messing around with userdata tricks.)
15 years ago
Robert G. Jakabosky
3758b825df
Update pre-generated binding code.
15 years ago
Robert G. Jakabosky
477fbecb99
Add missing DEALER/ROUTER socket types.
15 years ago
Douglas Creager
10bc8059f1
Return standardized error message for EINTR
...
The zmq functions now use "interrupted" instead of the system-specific
strerror() result for any EINTR errors. This makes it easy to test for
those and retry any interrupted function calls.
15 years ago
Robert G. Jakabosky
c7e5f0c93f
Update pre-generated bindings code.
15 years ago
Robert G. Jakabosky
f7f294d942
Fix bug with null error thrown during GC of stopwatch timers.
15 years ago
Robert G. Jakabosky
3bcfd30ddb
Re-generate bindings file. Improved support for Windows+MinGW+MSYS.
15 years ago
Robert G. Jakabosky
ba5f08b586
Fix issue with some variables named 'this' which conflicts with the Intel C compiler.
15 years ago
Robert G. Jakabosky
ec8409ffeb
Use opaque struct types instead of 'void *'.
15 years ago
Robert G. Jakabosky
a49943157c
Add support for zmq_stopwatch_*() and zmq_sleep() functions.
15 years ago
Robert G. Jakabosky
82a834eca4
Use '__declspec(dllexport)' instead of LUALIB_API on WIN32.
15 years ago
Robert G. Jakabosky
10e68fb269
Fix incorrect use of global in FFI code. Locallize some globals from standard library in FFI code.
15 years ago
Robert G. Jakabosky
46ac27b3e5
Use 'nil' not 'false' for signalling errors.
15 years ago
Robert G. Jakabosky
ca22b64f2c
Fix issue with FFI bindings return 'nil' for error messages.
15 years ago
Robert G. Jakabosky
783e00ef7f
Fix use of 'NULL' instead of 'nil' in Lua code.
15 years ago
Robert G. Jakabosky
f13a4ef914
Remove use of 'disable_ffi' from FFI based bindings, since it can cause problems with strict environments.
15 years ago
Robert G. Jakabosky
7194be8851
Improve old version error message. Add note about requried zeromq version.
15 years ago
Robert G. Jakabosky
8439751b91
Add detection code for really old ZeroMQ 2.0.x series.
15 years ago
Robert G. Jakabosky
a3f912b8aa
Fix undefined socket_t with ZeroMQ 2.0.x
15 years ago
Robert G. Jakabosky
2df2e1eae3
Update pre-generated bindings.
15 years ago
Robert G. Jakabosky
5a875c12a1
Fixed bug with destroying & creating 0MQ sockets quickly.
15 years ago
Robert G. Jakabosky
b66901fe3c
Fixed issue with GC of 0MQ context object. poller:poll() method now returns number of events handled.
15 years ago
Robert G. Jakabosky
eb96a2bc79
Fixed some bugs in low-level Poller object.
15 years ago
Robert G. Jakabosky
9108254961
Added FFI support to Poller object.
15 years ago
Robert G. Jakabosky
418bbe024a
Updated pre-generated module code.
15 years ago