mirror of
https://codeberg.org/grunfink/snac2.git
synced 2024-11-09 19:50:26 +03:00
Use SIGTRAP instead of the signal number in raise().
This commit is contained in:
parent
80d1700f6a
commit
a66bbd4360
2
xs.h
2
xs.h
@ -38,7 +38,7 @@ typedef char d_char;
|
|||||||
#define _xs_blk_size(sz) ((((sz) + _XS_BLK_SIZE) / _XS_BLK_SIZE) * _XS_BLK_SIZE)
|
#define _xs_blk_size(sz) ((((sz) + _XS_BLK_SIZE) / _XS_BLK_SIZE) * _XS_BLK_SIZE)
|
||||||
|
|
||||||
void _xs_destroy(char **var);
|
void _xs_destroy(char **var);
|
||||||
#define xs_debug() raise(5)
|
#define xs_debug() raise(SIGTRAP)
|
||||||
xstype xs_type(const char *data);
|
xstype xs_type(const char *data);
|
||||||
int xs_size(const char *data);
|
int xs_size(const char *data);
|
||||||
int xs_is_null(char *data);
|
int xs_is_null(char *data);
|
||||||
|
Loading…
Reference in New Issue
Block a user