Rename drv_invoke to drv_call_function

This commit is contained in:
2024-09-03 21:56:53 -04:00
parent bf3e963949
commit 3ed9a7ee2d
4 changed files with 27 additions and 32 deletions

View File

@@ -152,11 +152,6 @@ public:
//
virtual void event_update() = 0;
// // The probe callback. You may override this in a subclass.
// // This will be called whenever the driver wants to probe the state of the world.
// //
// virtual void event_probe(InvocationKind kind, int64_t place, std::string_view datapack, StreamBuffer *retvals) = 0;
// Specify the set of listening ports.
// This can only be used during the init routine.
//
@@ -297,8 +292,8 @@ public:
void drv_recv_incoming(uint32_t chid, uint32_t nbytes, const char *bytes);
void drv_notify_close(uint32_t chid, uint32_t len, const char *data);
uint32_t drv_notify_accept(uint32_t port);
void drv_call_event_update(double clock);
void drv_invoke(InvocationKind kind, int64_t place, uint32_t datapklen, const char *datapk);
void drv_update(double clock);
void drv_call_function(InvocationKind kind, int64_t place, uint32_t datapklen, const char *datapk);
private:
// Find a currently-unused channel ID. Channel IDs