mirror of
https://git.code.sf.net/p/zint/code
synced 2026-01-24 04:15:57 +00:00
ZBarcode_Encode_Segs: fuller debug output (all input fields)
test suite: fuzz: update for new symbologies & suppress some clang-tidy warnings common: better `z_iscntrl()` BWIPP: update to latest
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
/* common.h - Header for all common functions in common.c */
|
||||
/*
|
||||
libzint - the open source barcode library
|
||||
Copyright (C) 2009-2025 Robin Stuart <rstuart114@gmail.com>
|
||||
Copyright (C) 2009-2026 Robin Stuart <rstuart114@gmail.com>
|
||||
|
||||
Redistribution and use in source and binary forms, with or without
|
||||
modification, are permitted provided that the following conditions
|
||||
@@ -141,7 +141,7 @@ typedef unsigned __int64 uint64_t;
|
||||
#define z_isupper(c) ((c) >= 'A' && (c) <= 'Z')
|
||||
#define z_islower(c) ((c) >= 'a' && (c) <= 'z')
|
||||
#define z_isascii(c) (!((c) & ~0x7F))
|
||||
#define z_iscntrl(c) (z_isascii(c) && ((c) < 32 || (c) == 127))
|
||||
#define z_iscntrl(c) (!((c) & ~0x1F) || (c) == 127)
|
||||
|
||||
/* Shorthands to cast away char pointer signedness */
|
||||
#define ZUCP(p) ((unsigned char *) (p))
|
||||
|
||||
Reference in New Issue
Block a user