Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

libtizplatform: fix and clean up 'tiz_check_xxx' utilities #269

Closed
juanrubio opened this issue Nov 4, 2016 · 0 comments

Comments

Projects
None yet
1 participant
@juanrubio
Copy link
Collaborator

commented Nov 4, 2016

  • Remove '_err' suffix : tiz_check_omx_err -> tiz_check_omx
  • Rename tiz_ret_on_err -> tiz_check_true_ret_void
  • Rename tiz_ret_val_on_err -> tiz_check_true_ret_val
/* DEPRECATED */
/**
 * tiz_check_omx_err:
 * @deprecated From v0.6.0. Use tiz_check_omx instead. To be removed in
 * a future release.
 */
#define tiz_check_omx_err (expr) tiz_check_omx (expr)

/* DEPRECATED */
/**
 * tiz_check_omx_err_ret_oom:
 * @deprecated From v0.6.0. Use tiz_check_omx_ret_oom instead. To be removed in
 * a future release.
 */
#define tiz_check_omx_err_ret_oom(expr) tiz_check_omx_ret_oom (expr)

/* DEPRECATED */
/**
 * tiz_check_omx_err_ret_null:
 * @deprecated From v0.6.0. Use tiz_check_omx_ret_null instead. To be removed in
 * a future release.
 */
#define tiz_check_omx_err_ret_null(expr) tiz_check_omx_ret_null (expr)

/* DEPRECATED */
/**
 * tiz_check_omx_err_ret_val:
 * @deprecated From v0.6.0. Use tiz_check_omx_ret_val instead. To be removed in
 * a future release.
 */
#define tiz_check_omx_err_ret_val(expr, val) tiz_check_omx_ret_val (expr, val)

/* DEPRECATED */
/**
 * tiz_ret_on_err:
 * @deprecated From v0.6.0. Use tiz_check_true_ret_void instead. To be removed in
 * a future release.
 */
#define tiz_ret_on_err (expr) tiz_check_true_ret_void (expr)

/* DEPRECATED */
/**
 * tiz_ret_val_on_err:
 * @deprecated From v0.6.0. Use tiz_check_true_ret_val instead. To be removed in
 * a future release
 */
#define tiz_ret_val_on_err (expr, val) tiz_check_true_ret_val (expr, val)

@juanrubio juanrubio added this to the v0.6.0 milestone Nov 4, 2016

@juanrubio juanrubio self-assigned this Nov 4, 2016

@juanrubio juanrubio closed this in 6cea30d Nov 4, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.