Skip to content

Commit

Permalink
c error value
Browse files Browse the repository at this point in the history
  • Loading branch information
bozokopic committed Sep 27, 2024
1 parent 2b7d500 commit 17532f2
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src_c/hat/buff.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
#include <string.h>

#define HAT_BUFF_SUCCESS 0
#define HAT_BUFF_ERROR 1
#define HAT_BUFF_ERROR (-1)

#ifdef __cplusplus
extern "C" {
Expand Down
2 changes: 1 addition & 1 deletion src_c/hat/ht.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
#include "allocator.h"

#define HAT_HT_SUCCESS 0
#define HAT_HT_ERROR 1
#define HAT_HT_ERROR (-1)

#ifdef __cplusplus
extern "C" {
Expand Down
2 changes: 1 addition & 1 deletion src_c/hat/json.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
#endif

#define HAT_JSON_SUCCESS 0
#define HAT_JSON_ERROR 1
#define HAT_JSON_ERROR (-1)

#define HAT_JSON_TOKEN_NULL 0
#define HAT_JSON_TOKEN_BOOL 1
Expand Down
2 changes: 1 addition & 1 deletion src_c/hat/socket.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
#include "buff.h"

#define HAT_SOCKET_SUCCESS 0
#define HAT_SOCKET_ERROR 1
#define HAT_SOCKET_ERROR (-1)

#define HAT_SOCKET_TYPE_IP4_TCP 0
#define HAT_SOCKET_TYPE_IP4_UDP 1
Expand Down

0 comments on commit 17532f2

Please sign in to comment.