summaryrefslogtreecommitdiff
path: root/support/dktools/dk3bits.h
blob: cd8d1ebc86e2d420f46cc06a08512cdaa00d9733 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
/*
Copyright (C) 2011-2020, Dirk Krause
SPDX-License-Identifier: BSD-3-Clause
*/

/*
	WARNING: This file was generated by the dkct program (see
	http://dktools.sourceforge.net/ for details).
	Changes you make here will be lost if dkct is run again!
	You should modify the original source and run dkct on it.
	Original source: dk3bits.ctr
*/

/**	@file dk3bits.h Header file for the dk3bits module.
*/

#ifndef DK3BITS_H_INCLUDED
/** Avoid multiple inclusions. */
#define DK3BITS_H_INCLUDED 1


#line 10 "dk3bits.ctr"

#ifdef __cplusplus
extern "C" {
#endif

/**	Retrieve one bit.
	@param	i	Index of bit (0=lsb, 15=msb).
	@return	The requested bit.
*/
unsigned short
dk3bits_get(size_t i);

#ifdef __cplusplus
}
#endif




#endif