Commit 8b2a9e7f authored by nanahira's avatar nanahira

pos

parent 8fad87e2
...@@ -38,9 +38,9 @@ typedef int BOOL; ...@@ -38,9 +38,9 @@ typedef int BOOL;
#ifndef NULL #ifndef NULL
#define NULL 0 #define NULL 0
#endif #endif
#define lua_tonumberint(L,i) (lua_Integer)(((lua_tonumberx(L, (i), NULL) > 0) ? 0.5 : -0.5) + lua_tonumberx(L, (i), NULL))
struct card_sort { struct card_sort {
bool operator()(void* const & c1, void* const & c2) const; bool operator()(void* const & c1, void* const & c2) const;
}; };
#endif /* COMMON_H_ */ #endif /* COMMON_H_ */
#define lua_tonumberint(L,i) (lua_Integer)(((lua_tonumberx(L, (i), NULL) > 0) ? 0.5 : -0.5) + lua_tonumberx(L, (i), NULL))
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment