/usr/include/sidplay/sidtypes.h is in libsidplay2-dev 2.1.1-14.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 | /***************************************************************************
sidtypes.h - type definition file
-------------------
begin : Mon Jul 3 2000
copyright : (C) 2000 by Simon White
email : s_a_white@email.com
***************************************************************************/
/***************************************************************************
* *
* This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
* the Free Software Foundation; either version 2 of the License, or *
* (at your option) any later version. *
* *
***************************************************************************/
#ifndef _sidtypes_h_
#define _sidtypes_h_
#include "sidint.h"
#include "sidconfig.h"
#if SID_SIZEOF_CHAR == 1
# if (SID_SIZEOF_SHORT_INT == 2) || (SID_SIZEOF_INT == 2)
# if (SID_SIZEOF_INT == 4) || (SID_SIZEOF_LONG_INT == 4)
//# define SID_OPTIMISE_MEMORY_ACCESS
# endif
# endif
#endif
#if SID_SIZEOF_CHAR != 1
# error Code cannot work correctly on this platform as no real 8 bit data type supported!
#endif
#ifndef SID_HAVE_BOOL
# ifdef SID_HAVE_STDBOOL_H
# include <stdbool.h>
# else
typedef int bool;
# define true 1
# define false 0
# endif /* SID_HAVE_STDBOOL_H */
#endif /* HAVE_BOOL */
/* Custom types */
typedef int sid_fc_t[2];
typedef struct
{
sid_fc_t cutoff[0x800];
uint_least16_t points;
} sid_filter_t;
#define sid_filter_t sid_filter_t
typedef unsigned int uint;
typedef float float32_t;
typedef double float64_t;
#define SID_FOREVER for(;;)
#define SID_SWAP(x,y) ((x)^=(y)^=(x)^=(y))
#endif /* _sidtypes_h_ */
|