From 1f697fc67903452c4010831b2b69c7270278f969 Mon Sep 17 00:00:00 2001 From: Jonathan Stone Date: Tue, 15 Oct 2024 13:19:43 -0700 Subject: [PATCH] Align declaration order --- source/JsMaterialX/JsMaterialXCore/JsDocument.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/JsMaterialX/JsMaterialXCore/JsDocument.cpp b/source/JsMaterialX/JsMaterialXCore/JsDocument.cpp index 8abc54f8a0..18750666b7 100644 --- a/source/JsMaterialX/JsMaterialXCore/JsDocument.cpp +++ b/source/JsMaterialX/JsMaterialXCore/JsDocument.cpp @@ -23,10 +23,10 @@ EMSCRIPTEN_BINDINGS(document) .class_function("createDocument", &mx::Document::createDocument) .function("initialize", &mx::Document::initialize) .function("copy", &mx::Document::copy) - .function("importLibrary", &mx::Document::importLibrary) .function("setDataLibrary", &mx::Document::setDataLibrary) .function("getDataLibrary", &mx::Document::getDataLibrary) .function("hasDataLibrary", &mx::Document::hasDataLibrary) + .function("importLibrary", &mx::Document::importLibrary) .function("getReferencedSourceUris", ems::optional_override([](mx::Document &self) { mx::StringSet set = self.getReferencedSourceUris(); return ems::val::array(set.begin(), set.end());