History

Remove typedefs for float_t and double_t

The actual float and double data types are defined in C89 and are usable as such without any extra typedefs. Removing the extra typedefs simplifies the compatibility typedef headers, simplifies portability and makes the code base easier to work with for people new to the library.

Martin Storsjö committed 12 years ago

Commit d36b10f1 parent ba6bf7d4 files · +15 −20Browse files

Showing the changes to codec/processing/src/common (1 of 4 files). Show all

Unified · Split

codec/processing/src/common/typedef.h+0−5
@@ -76,11 +76,6 @@ typedef unsigned __int64 uint64_t ; · 75 unmodified lines
76typedef char str_t ; // [comment]: specific use plain char only for character parameters76typedef char str_t ; // [comment]: specific use plain char only for character parameters
77typedef bool bool_t ;77typedef bool bool_t ;
78 78
79#if defined(_WIN32) || defined(_MACH_PLATFORM) || defined(__GNUC__)
80typedef float float_t ;
81typedef double double_t ;
82#endif
83
84enum {79enum {
85 FALSE = 0,80 FALSE = 0,
86 TRUE = !FALSE81 TRUE = !FALSE

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t