From 6b1444aa3918382aba127c16c671f045a3586e53 Mon Sep 17 00:00:00 2001 From: Paul Oliver Date: Thu, 29 Feb 2024 02:29:14 +0100 Subject: Common pipe replaced with sender/receiver functors. [#27] C library now only takes care of relaying data to/from functors, which must be provided by the wrapping application (in this case, a new python module named 'common.py'). --- include/salis.h | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'include/salis.h') diff --git a/include/salis.h b/include/salis.h index 8b261b1..75ef9dd 100644 --- a/include/salis.h +++ b/include/salis.h @@ -22,9 +22,8 @@ /** Initialize Salis simulation. * @param order Order of memory (memory_size == 1 << order) -* @param pipe Desired path and file name of common pipe */ -SALIS_API void sal_main_init(uint32 order, string pipe); +SALIS_API void sal_main_init(uint32 order); /** Free resources and quit Salis. */ @@ -32,9 +31,8 @@ SALIS_API void sal_main_quit(void); /** Load existing Salis simulation from saved file. * @param file_name Path of the save file to be loaded -* @param pipe Desired path and file name of common pipe */ -SALIS_API void sal_main_load(string file_name, string pipe); +SALIS_API void sal_main_load(string file_name); /** Save Salis simulation to a file. * @param file_name Path of the save file to be created -- cgit v1.2.1