# HG changeset patch # User Edouard Tisserant # Date 1724111468 -7200 # Node ID 22ba103801ee8c04988c8a72da05bd30b1afbb5e # Parent 86e39be014d8174730617fe94cee5e15d350a6bd# Parent 2b0f8c4c8d02013078c7207a1d548875057aa0d6 Merge remote-tracking branch 'origin/python3' into python3 diff -r 86e39be014d8 -r 22ba103801ee C_runtime/PLCObject.hpp --- 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, Blob*> m_mapBlobIDToBlob; @@ -108,14 +112,12 @@ // Trace double buffer std::vector 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