const strview_t reqtyp = strview(str, ':');
- strview_t reqdep = {NULL};
+ strview_t reqdep = {0};
- strview_t reqpkg = {NULL};
+ strview_t reqpkg = {0};
if (reqtyp.data[reqtyp.size] == ':') {
reqdep = strview(reqtyp.data + reqtyp.size + strlen(":"), ':');
for (pnext = gvc->apis[api]; pnext; pnext = pnext->next) {
const strview_t typ = strview(pnext->typestr, ':');
- strview_t dep = {NULL};
+ strview_t dep = {0};
if (typ.data[typ.size] == ':') {
dep = strview(typ.data + typ.size + strlen(":"), '\0');
}
}
if (new) { /* if the type was not found, or if str without ':',
then just list available types */
- strview_t type_last = {NULL};
+ strview_t type_last = {0};
for (pnext = plugin; pnext; pnext = pnext->next) {
/* list only one instance of type */
const strview_t type = strview(pnext->typestr, ':');
/* point to the beginning of the linked list of plugins for this api */
plugin = gvc->apis[api];
- strview_t typestr_last = {NULL};
+ strview_t typestr_last = {0};
for (pnext = plugin; pnext; pnext = pnext->next) {
/* list only one instance of type */
strview_t q = strview(pnext->typestr, ':');
xlabel_t *lp = objp->lbl;
double xincr = ((2 * lp->sz.x) + objp->sz.x) / XLXDENOM;
double yincr = ((2 * lp->sz.y) + objp->sz.y) / XLYDENOM;
- object_t *intrsx[XLNBR] = {NULL};
+ object_t *intrsx[XLNBR] = {0};
BestPos_t bp, nbp;
assert(objp->lbl);