From 4a21a194f49d6b6c5b45f17e8679e770166ddcc8 Mon Sep 17 00:00:00 2001 From: Hugh Sanderson Date: Wed, 18 Sep 2024 13:32:48 +0800 Subject: [PATCH] Add native CURL code for emscripten --- include.nmml | 2 + project/ToolkitBuild.xml | 37 ++-- project/src/common/ExternalInterface.cpp | 2 +- project/src/emscripten/CurlFetch.cpp | 259 +++++++++++++++++++++++ project/src/winrt/URL.cpp | 69 ------ samples/13-URLLoader/Sample.hx | 6 +- src/nme/net/URLLoader.hx | 49 ++++- 7 files changed, 336 insertions(+), 88 deletions(-) create mode 100755 project/src/emscripten/CurlFetch.cpp delete mode 100644 project/src/winrt/URL.cpp diff --git a/include.nmml b/include.nmml index 79273c898..a55e3f8e1 100644 --- a/include.nmml +++ b/include.nmml @@ -17,6 +17,8 @@ + +
diff --git a/project/ToolkitBuild.xml b/project/ToolkitBuild.xml index fc4768e66..73fb75aad 100644 --- a/project/ToolkitBuild.xml +++ b/project/ToolkitBuild.xml @@ -95,14 +95,25 @@ - - - + + + + + + + + + + + + - - - +
+ + + +