nxt_list.h (65:10688b89aa16) nxt_list.h (98:4077decf847b)
1
2/*
3 * Copyright (C) Igor Sysoev
4 * Copyright (C) NGINX, Inc.
5 */
6
7#ifndef _NXT_LIST_H_INCLUDED_
8#define _NXT_LIST_H_INCLUDED_

--- 29 unchanged lines hidden (view full) ---

38
39#define \
40nxt_list_part(list) \
41 (&(list)->part)
42
43
44#define \
45nxt_list_data(part) \
1
2/*
3 * Copyright (C) Igor Sysoev
4 * Copyright (C) NGINX, Inc.
5 */
6
7#ifndef _NXT_LIST_H_INCLUDED_
8#define _NXT_LIST_H_INCLUDED_

--- 29 unchanged lines hidden (view full) ---

38
39#define \
40nxt_list_part(list) \
41 (&(list)->part)
42
43
44#define \
45nxt_list_data(part) \
46 ((char *) (part) + sizeof(nxt_list_part_t))
46 nxt_pointer_to(part, sizeof(nxt_list_part_t))
47
48
49#define \
50nxt_list_first(list) \
51 (void *) nxt_list_data(nxt_list_part(list))
52
53
54nxt_inline void *

--- 76 unchanged lines hidden ---
47
48
49#define \
50nxt_list_first(list) \
51 (void *) nxt_list_data(nxt_list_part(list))
52
53
54nxt_inline void *

--- 76 unchanged lines hidden ---