libragephoto: put C++ wrapper in ragephoto_c namespace
This commit is contained in:
parent
eadec52f35
commit
0fa69667d0
2 changed files with 4 additions and 6 deletions
|
@ -34,12 +34,12 @@ typedef ragephoto::photo RagePhoto;
|
|||
typedef ragephoto::photo RagePhoto;
|
||||
#else
|
||||
#include "ragephoto_c.hpp"
|
||||
typedef ragephoto::c_wrapper::photo RagePhoto;
|
||||
typedef ragephoto_c::photo RagePhoto;
|
||||
#endif // LIBRAGEPHOTO_PREFER_NATIVE
|
||||
#endif // LIBRAGEPHOTO_STATIC
|
||||
#elif defined LIBRAGEPHOTO_C_ONLY
|
||||
#include "ragephoto_c.hpp"
|
||||
typedef ragephoto::c_wrapper::photo RagePhoto;
|
||||
typedef ragephoto_c::photo RagePhoto;
|
||||
#else
|
||||
#error "Could not determine best RagePhoto implementation, libragephoto installation might be corrupt!"
|
||||
#endif // LIBRAGEPHOTO_CXX_ONLY
|
||||
|
|
|
@ -24,8 +24,7 @@
|
|||
#include <cstdlib>
|
||||
#include <iostream>
|
||||
|
||||
namespace ragephoto {
|
||||
namespace c_wrapper {
|
||||
namespace ragephoto_c {
|
||||
|
||||
/**
|
||||
* \brief GTA V and RDR 2 Photo Parser (C API wrapper).
|
||||
|
@ -346,8 +345,7 @@ private:
|
|||
ragephoto_t instance;
|
||||
};
|
||||
|
||||
} // c_wrapper
|
||||
} // ragephoto
|
||||
} // ragephoto_c
|
||||
#endif // __cplusplus
|
||||
|
||||
#endif // RAGEPHOTO_C_HPP
|
||||
|
|
Loading…
Reference in a new issue