Update Types.h
Convert multi line comments into single line comments, add a TODO, and arrange lines a bit
This commit is contained in:
parent
fcc45c4f09
commit
e00db193d3
|
@ -3,21 +3,22 @@
|
||||||
|
|
||||||
#include <Common/stdtypes.h>
|
#include <Common/stdtypes.h>
|
||||||
|
|
||||||
/*
|
// Pointer to RSP operation code functions or "func"
|
||||||
* pointer to RSP operation code functions or "func"
|
// This is the type of all RSP interpreter and recompiler functions
|
||||||
* This is the type of all RSP interpreter and recompiler functions.
|
|
||||||
*/
|
|
||||||
typedef void(*p_func)(void);
|
typedef void(*p_func)(void);
|
||||||
|
|
||||||
|
// TODO: Rewrite/remove/address?
|
||||||
/*
|
/*
|
||||||
* `BOOL` is Windows-specific so is going to tend to be avoided.
|
`BOOL` is Windows-specific so is going to tend to be avoided.
|
||||||
* `int` is the exact replacement.
|
`int` is the exact replacement.
|
||||||
*
|
|
||||||
* However, saying "int" all the time for true/false is a little ambiguous.
|
However, saying "int" all the time for true/false is a little ambiguous.
|
||||||
*
|
|
||||||
* Maybe in the future, with C++ (or C99) rewrites, we can switch to `bool`.
|
Maybe in the future, with C++ (or C99) rewrites, we can switch to `bool`.
|
||||||
* Until then, a simple type definition will help emphasize true/false logic.
|
Until then, a simple type definition will help emphasize true/false logic.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
typedef int Boolean;
|
typedef int Boolean;
|
||||||
#if !defined(FALSE) && !defined(TRUE)
|
#if !defined(FALSE) && !defined(TRUE)
|
||||||
#define FALSE 0
|
#define FALSE 0
|
||||||
|
|
Loading…
Reference in New Issue