11 Commits

Author SHA1 Message Date
antirez
bcd42235b5 Modules: remove useless defines in hellotimer.c 2018-09-26 17:42:00 +02:00
antirez
ba7d6001ba Modules Timer API: fix infinite loop and export API. 2018-03-31 00:44:46 +02:00
antirez
feaa829b94 Modules Cluster API: add a simple example module. 2018-03-30 12:49:45 +02:00
antirez
59949257af Modules: blocking commands WIP: API exported, a first example. 2016-10-07 13:48:14 +02:00
antirez
c26eb7976a Enable warning in example modules Makefile. 2016-10-07 13:07:13 +02:00
antirez
39b6ae46eb Add compiler optimizations to example module makefile. 2016-10-02 11:01:36 +02:00
antirez
eef33c77d3 Example modules: Add C99 standard to cflags. 2016-09-09 16:01:29 +02:00
antirez
f7a8b65f3d Modules: StringAppendBuffer() and ability to retain strings.
RedisModule_StringRetain() allows, when automatic memory management is
on, to keep string objects living after the callback returns. Can also
be used in order to use Redis reference counting of objects inside
modules.

The reason why this is useful is that sometimes when implementing new
data types we want to reference RedisModuleString objects inside the
module private data structures, so those string objects must be valid
after the callback returns even if not referenced inside the Redis key
space.
2016-08-02 15:29:04 +02:00
antirez
9deb98167b Modules: support for modules native data types. 2016-06-03 18:14:04 +02:00
Dvir Volk
a70f8779b7 fixed makefile for linux 2016-05-10 06:40:05 +02:00
antirez
83fe739fb6 Modules: first preview 31 March 2016. 2016-05-10 06:40:05 +02:00