Skip to content

Commit 3850eff

Browse files
committed
Export event::source_id() to lua
1 parent 98f2dad commit 3850eff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

yasio/bindings/lyasio.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ YASIO_LUA_API int luaopen_yasio(lua_State* L)
182182
return sol::make_object(L, cxx14::make_unique<yasio::ibstream>(forward_packet((packet_t&&)pkt)));
183183
}
184184
},
185-
"cindex", &io_event::cindex, "transport", &io_event::transport
185+
"cindex", &io_event::cindex, "source_id", &io_event::source_id, "transport", &io_event::transport
186186
# if !defined(YASIO_MINIFY_EVENT)
187187
,
188188
"timestamp", &io_event::timestamp

0 commit comments

Comments
 (0)