Change version.

master
Philippe PITTOLI 2024-06-06 16:12:23 +02:00
parent 13081f3612
commit 88244a7e64
3 changed files with 5 additions and 4 deletions

View File

@ -1,6 +1,6 @@
const std = @import("std");
const VERSION = "0.1.0";
const VERSION = "0.1.1";
// Although this function looks imperative, note that its job is to
// declaratively construct a build graph that will be executed by an external

2
ipc.pc
View File

@ -3,6 +3,6 @@ libdir=/usr/local/lib
Name: LibIPC
Description: The simplest Inter Process Communication library
Version: 0.1.0
Version: 0.1.1
Libs: -L${libdir} -lipc
Cflags: -I${includedir}

View File

@ -41,8 +41,9 @@ int ipc_close_all (void* ctx);
int ipc_add_external (void* ctx, int newfd);
int ipc_add_switch (void* ctx, int fd1, int fd2);
// Returned "char" is a cb_event_types enum.
int ipc_set_switch_callbacks (void* ctx, int fd
, enum cb_event_types (*in (int orig, const char *payload, uint32_t *mlen))
, enum cb_event_types (*out(int dest, char *payload, uint32_t mlen)));
, char (*in (int orig, const char *payload, uint32_t *mlen))
, char (*out(int dest, char *payload, uint32_t mlen)));
#endif