mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2025-12-20 23:20:10 +01:00
fix warning: inlining failed in call to '_csi_stack_push'
This commit is contained in:
parent
b092b63119
commit
9ffbf63d37
2 changed files with 13 additions and 9 deletions
|
|
@ -179,6 +179,17 @@ _csi_slab_free (csi_t *ctx, void *ptr, int size)
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
csi_status_t
|
||||||
|
_csi_stack_push (csi_t *ctx, csi_stack_t *stack,
|
||||||
|
const csi_object_t *obj)
|
||||||
|
{
|
||||||
|
if (_csi_unlikely (stack->len == stack->size))
|
||||||
|
return _csi_stack_push_internal (ctx, stack, obj);
|
||||||
|
|
||||||
|
stack->objects[stack->len++] = *obj;
|
||||||
|
return CSI_STATUS_SUCCESS;
|
||||||
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
_csi_perm_fini (csi_t *ctx)
|
_csi_perm_fini (csi_t *ctx)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -916,16 +916,9 @@ csi_number_get_value (const csi_object_t *obj)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
static inline csi_status_t
|
csi_status_t
|
||||||
_csi_stack_push (csi_t *ctx, csi_stack_t *stack,
|
_csi_stack_push (csi_t *ctx, csi_stack_t *stack,
|
||||||
const csi_object_t *obj)
|
const csi_object_t *obj);
|
||||||
{
|
|
||||||
if (_csi_unlikely (stack->len == stack->size))
|
|
||||||
return _csi_stack_push_internal (ctx, stack, obj);
|
|
||||||
|
|
||||||
stack->objects[stack->len++] = *obj;
|
|
||||||
return CSI_STATUS_SUCCESS;
|
|
||||||
}
|
|
||||||
|
|
||||||
static inline csi_boolean_t
|
static inline csi_boolean_t
|
||||||
_csi_check_ostack (csi_t *ctx, csi_integer_t count)
|
_csi_check_ostack (csi_t *ctx, csi_integer_t count)
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue