From 40e32f63756ef79892cdd9253443527710fbc6c0 Mon Sep 17 00:00:00 2001 From: Jeffrey Thompson Date: Sat, 15 Jul 2023 23:23:56 -0400 Subject: [PATCH] Update primitives.def A few tweaks needed -- library produced on windows is primitives.dll so we need library name "primitives" we need to add free_pointer to the exports so we can access that function in the primitives.dart program (get an uncaught exception when trying to run the primitives.dart program as it is now). --- ffi/primitives/primitives_library/primitives.def | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/ffi/primitives/primitives_library/primitives.def b/ffi/primitives/primitives_library/primitives.def index 2f6bf4c..0edc5e6 100644 --- a/ffi/primitives/primitives_library/primitives.def +++ b/ffi/primitives/primitives_library/primitives.def @@ -1,5 +1,6 @@ -LIBRARY structs +LIBRARY primitives EXPORTS sum subtract - multiply \ No newline at end of file + multiply + free_pointer