Mercurial > malikania
diff tests/libclient/js-font/main.cpp @ 63:96ba0c5cf893
Misc: update duktape.hpp to new style
author | David Demelier <markand@malikania.fr> |
---|---|
date | Fri, 16 Dec 2016 16:11:24 +0100 |
parents | f30c84b4b9ed |
children |
line wrap: on
line diff
--- a/tests/libclient/js-font/main.cpp Fri Dec 16 15:38:45 2016 +0100 +++ b/tests/libclient/js-font/main.cpp Fri Dec 16 16:11:24 2016 +0100 @@ -33,7 +33,7 @@ protected: mlk::directory_resources_locator m_locator; mlk::client_resources_loader m_loader; - UniqueContext m_ctx; + dukx_context m_ctx; public: test_font() @@ -66,7 +66,7 @@ ); if (ret != 0) { - throw dukx_exception(m_ctx, -1); + throw dukx_get_exception(m_ctx, -1); } std::this_thread::sleep_for(3s);