/********************************************************************************************************************* * COPYRIGHT NOTICE * Copyright (c) 2020,��ɿƼ� * All rights reserved. * ��������QQȺ����Ⱥ��824575535 * * �����������ݰ�Ȩ������ɿƼ����У�δ����������������ҵ��;�� * ��ӭ��λʹ�ò�����������������ʱ���뱣����ɿƼ��İ�Ȩ������ * * @file zf_assert * @company �ɶ���ɿƼ�����˾ * @author ��ɿƼ�(QQ3184284598) * @version �鿴doc��version�ļ� �汾˵�� * @Software ADS v1.2.2 * @Target core TC264D * @Taobao https://seekfree.taobao.com/ * @date 2020-3-23 ********************************************************************************************************************/ #ifndef _zf_assert_h #define _zf_assert_h #include "Ifx_Types.h" void assert(pchar __file, unsigned int __line, pchar __function); #define ZF_ASSERT(expr) ((expr) ? ((void)0) : assert(__FILE__, __LINE__, __func__)) #endif