diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2021-01-28 22:47:25 -0800 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2021-01-28 22:47:25 -0800 |
| commit | 000ef2dc58416cd09dc177ab863a2d6f1ab9ba28 (patch) | |
| tree | 2e5a6131f957ba85a6acb2f15f1614e9895f0927 /types.h | |
| parent | 8842891a7cad0c4d666eda994f291f8bd5b988c8 (diff) | |
Converted block comments to line comments
Diffstat (limited to 'types.h')
| -rw-r--r-- | types.h | 29 |
1 files changed, 15 insertions, 14 deletions
@@ -1,10 +1,10 @@ -/* - * types.h - * Copyright 2019 Bruce Hill - * Released under the MIT license - * - * This file contains definitions of different types. - */ +// +// types.h +// Copyright 2019 Bruce Hill +// Released under the MIT license +// +// This file contains definitions of different types. +// #ifndef FILE_TYPES__H #define FILE_TYPES__H @@ -20,13 +20,14 @@ #define HASH_SIZE 1024 #define HASH_MASK (HASH_SIZE - 1) -/* Datastructure for file/directory entries. - * entry_t uses intrusive linked lists. This means entries can only belong to - * one list at a time, in this case the list of selected entries. 'atme' is an - * indirect pointer to either the 'next' field of the previous list member, or - * the variable that points to the first list member. In other words, - * item->next->atme == &item->next and firstitem->atme == &firstitem. - */ +// +// Datastructure for file/directory entries. +// entry_t uses intrusive linked lists. This means entries can only belong to +// one list at a time, in this case the list of selected entries. 'atme' is an +// indirect pointer to either the 'next' field of the previous list member, or +// the variable that points to the first list member. In other words, +// item->next->atme == &item->next and firstitem->atme == &firstitem. +// typedef struct entry_s { struct { struct entry_s *next, **atme; |
