Mercurial > prosody-hg
comparison util-src/poll.c @ 12976:a187600ec7d6
util: Add compat for prosody module name change to C sources
| author | Kim Alvefur <zash@zash.se> |
|---|---|
| date | Fri, 17 Mar 2023 18:03:07 +0100 |
| parents | f5a75aaa8a25 |
| children | 649876680bf0 |
comparison
equal
deleted
inserted
replaced
| 12975:d10957394a3c | 12976:a187600ec7d6 |
|---|---|
| 558 } | 558 } |
| 559 | 559 |
| 560 /* | 560 /* |
| 561 * Open library | 561 * Open library |
| 562 */ | 562 */ |
| 563 int luaopen_util_poll(lua_State *L) { | 563 int luaopen_prosody_util_poll(lua_State *L) { |
| 564 luaL_checkversion(L); | 564 luaL_checkversion(L); |
| 565 | 565 |
| 566 luaL_newmetatable(L, STATE_MT); | 566 luaL_newmetatable(L, STATE_MT); |
| 567 { | 567 { |
| 568 | 568 |
| 612 | 612 |
| 613 } | 613 } |
| 614 return 1; | 614 return 1; |
| 615 } | 615 } |
| 616 | 616 |
| 617 /* COMPAT */ | |
| 618 int luaopen_util_poll(lua_State *L) { | |
| 619 return luaopen_prosody_util_poll(L); | |
| 620 } | |
| 621 |
