24 #ifndef LUABIND_PRIMITIVES_HPP_INCLUDED 25 #define LUABIND_PRIMITIVES_HPP_INCLUDED 30 #include <luabind/config.hpp> 31 #include <luabind/detail/yes_no.hpp> 33 namespace luabind {
namespace detail
62 bool operator()(
const char* s1,
const char* s2)
const {
return std::strcmp(s1, s2) < 0; }
73 template<
class Derived,
class Base>
77 Derived* ptr =
reinterpret_cast<Derived*
>(&obj);
79 return int(static_cast<char*>(static_cast<void*>(static_cast<Base*>(ptr)))
80 - static_cast<char*>(static_cast<void*>(ptr)));
85 #endif // LUABIND_PRIMITIVES_HPP_INCLUDED Definition: primitives.hpp:50
Definition: primitives.hpp:52
Definition: primitives.hpp:54
Definition: primitives.hpp:58
Definition: primitives.hpp:66
Definition: primitives.hpp:60
Definition: PEtypes.h:507
Definition: primitives.hpp:42
Definition: primitives.hpp:44
Definition: primitives.hpp:55
Definition: primitives.hpp:36
Definition: primitives.hpp:53
Definition: primitives.hpp:49
Definition: primitives.hpp:56