mirror of
https://github.com/bsnes-emu/bsnes.git
synced 2025-08-26 22:04:50 +02:00
Update to v097r14 release.
byuu says: This is a few days old, but oh well. This WIP changes nall,hiro,ruby,icarus back to (u)int(8,16,32,64)_t. I'm slowly pushing for (u)int(8,16,32,64) to use my custom Integer<Size>/Natural<Size> classes instead. But it's going to be one hell of a struggle to get that into higan.
This commit is contained in:
@@ -36,7 +36,7 @@ inline auto evaluateExpression(Node* node) -> string {
|
||||
throw "invalid operator";
|
||||
}
|
||||
|
||||
inline auto evaluateInteger(Node* node) -> int64 {
|
||||
inline auto evaluateInteger(Node* node) -> int64_t {
|
||||
if(node->type == Node::Type::Literal) return nall::integer(node->literal);
|
||||
|
||||
#define p(n) evaluateInteger(node->link[n])
|
||||
@@ -85,7 +85,7 @@ inline auto evaluateInteger(Node* node) -> int64 {
|
||||
throw "invalid operator";
|
||||
}
|
||||
|
||||
inline auto integer(const string& expression) -> maybe<int64> {
|
||||
inline auto integer(const string& expression) -> maybe<int64_t> {
|
||||
try {
|
||||
auto tree = new Node;
|
||||
const char* p = expression;
|
||||
|
Reference in New Issue
Block a user