Changeset 151 in libcf for trunk/src/cf_local.h


Ignore:
Timestamp:
10/31/13 10:17:24 (11 years ago)
Author:
cheese
Message:

#1 fix interface and add util module

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/cf_local.h

    r128 r151  
    66#ifndef __CF_LOCAL_H__
    77#define __CF_LOCAL_H__
     8
     9#include <stdlib.h>
    810
    911/** 파일 이름 및 경로 길이 */
     
    1820#define CATCH_ELSE              else
    1921
     22/**
     23 * 유틸 매크로
     24 *
     25 * \remarks
     26 * header는 별도로 include 해야 함
     27 */
     28#define NEWCTX(__ctx)           ((__ctx *) calloc (sizeof (__ctx), 1))
     29
    2030/** non-compatible function */
    2131#if defined(_WIN32) || defined(_WIN64)
Note: See TracChangeset for help on using the changeset viewer.