Merge remote-tracking branch 'origin/python3' into python3
authorEdouard Tisserant <edouard.tisserant@gmail.com>
Tue, 20 Aug 2024 01:51:08 +0200
changeset 3978 22ba103801ee
parent 3976 86e39be014d8 (current diff)
parent 3977 2b0f8c4c8d02 (diff)
child 4007 76dede1e3403
Merge remote-tracking branch 'origin/python3' into python3
--- a/C_runtime/PLCObject.hpp	Sat Aug 17 18:44:12 2024 +0200
+++ b/C_runtime/PLCObject.hpp	Tue Aug 20 01:51:08 2024 +0200
@@ -72,6 +72,10 @@
         uint32_t StartPLC(void);
         uint32_t StopPLC(bool * success);
 
+        // Public interface used by runtime
+        uint32_t AutoLoad();
+        uint32_t LogMessage(uint8_t level, std::string message);
+
     private:
         // A map of all the blobs
         std::map<std::vector<uint8_t>, Blob*> m_mapBlobIDToBlob;
@@ -108,14 +112,12 @@
         // Trace double buffer
         std::vector<trace_sample> m_traces;
 
-        uint32_t AutoLoad();
         uint32_t BlobAsFile(const binary_t * BlobID, std::filesystem::path filename);
         uint32_t LoadPLC(void);
         uint32_t UnLoadPLC(void);
-        uint32_t LogMessage(uint8_t level, std::string message);
         uint32_t PurgePLC(void);
         void PurgeTraceBuffer(void);
         void TraceThreadProc(void);
 };
 
-#endif
\ No newline at end of file
+#endif