이거 잘 이해가 가질 않는데요ㅠㅠ
글쓴이: gokore / 작성시간: 토, 2011/09/17 - 12:13오후
/* The nonull function attribute allows to mark pointer parameters which
must not be NULL. */
#if __GNUC_PREREQ (3,3)
# define __nonnull(params) __attribute__ ((__nonnull__ params))
#else
# define __nonnull(params)
#endif
여기서 define __nonull(params) 뒤에 __attribute__((__nonull__params))를 대체 어떻게 해석을 해야할 까요?
__nonull이 __attribute__((__nonull__params))로 디파인 된것인가요?
Forums:
조건이 만족되면, __nonnull(abc) 가
조건이 만족되면,
__nonnull(abc) 가 __attribute__((__nonnull__ abc)) 로 바뀐다구요.
댓글 달기