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
7676 typedef char str_t ; // [comment]: specific use plain char only for character parameters
7777 typedef bool bool_t ;
7878
79−#if defined(_WIN32) || defined(_MACH_PLATFORM) || defined(__GNUC__)
80−typedef float float_t ;
81−typedef double double_t ;
82−#endif
83−
8479 enum {
8580 FALSE = 0,
8681 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