@@ -139,35 +139,37 @@ private:
139139 }
140140};
141141
142- [[nodiscard]] inline auto connect ( //
142+ [[nodiscard]] ECSACT_ALWAYS_INLINE auto connect (
143143 const std::string& connection_string
144144) -> ecsact_async_request_id {
145145 return ecsact_async_connect (connection_string.c_str ());
146146}
147147
148- inline auto disconnect () -> void {
148+ ECSACT_ALWAYS_INLINE auto disconnect () -> void {
149149 ecsact_async_disconnect ();
150150}
151151
152- [[nodiscard]] inline auto get_current_tick () -> int32_t {
152+ [[nodiscard]] ECSACT_ALWAYS_INLINE auto get_current_tick () -> int32_t {
153153 return ecsact_async_get_current_tick ();
154154}
155155
156- [[nodiscard]] inline auto enqueue_execution_options (
156+ [[nodiscard]] ECSACT_ALWAYS_INLINE auto enqueue_execution_options (
157157 ecsact::core::execution_options& options
158158) -> ecsact_async_request_id {
159159 return ecsact_async_enqueue_execution_options (options.c ());
160160}
161161
162- inline auto flush_events () -> void {
162+ ECSACT_ALWAYS_INLINE auto flush_events () -> void {
163163 ecsact_async_flush_events (nullptr , nullptr );
164164}
165165
166166template <typename ExecutionEventsCollector>
167167 requires (std::convertible_to<
168168 decltype (std::declval<ExecutionEventsCollector>().c()),
169169 const ecsact_execution_events_collector>)
170- inline auto flush_events(ExecutionEventsCollector&& evc) -> void {
170+ ECSACT_ALWAYS_INLINE auto flush_events( //
171+ ExecutionEventsCollector&& evc
172+ ) -> void {
171173 const ecsact_execution_events_collector evc_c = evc.c ();
172174 ecsact_async_flush_events (&evc_c, nullptr );
173175}
@@ -176,13 +178,15 @@ template<typename AsyncEventsCollector>
176178 requires (std::convertible_to<
177179 decltype (std::declval<AsyncEventsCollector>().c()),
178180 const ecsact_async_events_collector>)
179- inline auto flush_events(AsyncEventsCollector&& async_evc) -> void {
181+ ECSACT_ALWAYS_INLINE auto flush_events( //
182+ AsyncEventsCollector&& async_evc
183+ ) -> void {
180184 const ecsact_async_events_collector async_evc_c = async_evc.c ();
181185 ecsact_async_flush_events (nullptr , &async_evc_c);
182186}
183187
184188template <typename ExecutionEventsCollector, typename AsyncEventsCollector>
185- inline auto flush_events (
189+ ECSACT_ALWAYS_INLINE auto flush_events (
186190 ExecutionEventsCollector&& evc,
187191 AsyncEventsCollector&& async_evc
188192) -> void {
0 commit comments