From 385abb538bc9e19056f2f690108cf69dd245615d Mon Sep 17 00:00:00 2001 From: The-Mighty-Cat <54977668+The-Mighty-Cat@users.noreply.github.com> Date: Wed, 12 Feb 2025 23:14:43 +0100 Subject: [PATCH] Updated GetElementById (markdown) --- GetElementById.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/GetElementById.md b/GetElementById.md index 86d50d7..44a53e1 100644 --- a/GetElementById.md +++ b/GetElementById.md @@ -1,6 +1,8 @@ ```cpp -void* Crafter::CppDOM::Bindings::GetElementById(const char* id, std::size_t idLenght); -void* Crafter::CppDOM::Bindings::GetElementById(const std::string& id); +namespace Crafter::CppDOM::Bindings { + void* GetElementById(const char* id, std::size_t idLenght); + void* GetElementById(const std::string& id); +} ``` Accepts an id string and returns a void* to a JS object.