This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
tango-maat/include/utils.h

28 lines
604 B
C
Raw Normal View History

2022-11-25 16:32:29 +08:00
/*
**********************************************************************************************
* File: maat_utils.h
* Description: maat utils entry
* Authors: Liu WenTan <liuwentan@geedgenetworks.com>
* Date: 2022-10-31
* Copyright: (c) 2018-2022 Geedge Networks, Inc. All rights reserved.
***********************************************************************************************
*/
#ifndef _UTILS_H_
#define _UTILS_H_
#ifdef __cpluscplus
extern "C"
{
#endif
#include <stdlib.h>
#define ALLOC(type, number) ((type *)calloc(sizeof(type), number))
#ifdef __cpluscplus
}
#endif
#endif