mirror of
https://github.com/matrix-construct/construct
synced 2024-09-27 11:18:51 +02:00
ircd:Ⓜ️:event::fetch: Use hidden section for non-plt/internal linkage.
This commit is contained in:
parent
45f43dd46a
commit
9eed4dfa5f
2 changed files with 5 additions and 1 deletions
|
@ -56,8 +56,8 @@ struct ircd::m::event::fetch
|
||||||
bool valid;
|
bool valid;
|
||||||
id::buf event_id_buf;
|
id::buf event_id_buf;
|
||||||
|
|
||||||
static string_view key(const event::idx *const &);
|
|
||||||
static bool should_seek_json(const opts &);
|
static bool should_seek_json(const opts &);
|
||||||
|
static string_view key(const event::idx *const &);
|
||||||
bool assign_from_row(const string_view &key);
|
bool assign_from_row(const string_view &key);
|
||||||
bool assign_from_json(const string_view &key);
|
bool assign_from_json(const string_view &key);
|
||||||
|
|
||||||
|
|
|
@ -258,6 +258,7 @@ ircd::m::event::fetch::fetch(const opts &opts)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
[[gnu::visibility("hidden")]]
|
||||||
bool
|
bool
|
||||||
ircd::m::event::fetch::assign_from_json(const string_view &key)
|
ircd::m::event::fetch::assign_from_json(const string_view &key)
|
||||||
try
|
try
|
||||||
|
@ -321,6 +322,7 @@ catch(const json::parse_error &e)
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
[[gnu::visibility("hidden")]]
|
||||||
bool
|
bool
|
||||||
ircd::m::event::fetch::assign_from_row(const string_view &key)
|
ircd::m::event::fetch::assign_from_row(const string_view &key)
|
||||||
try
|
try
|
||||||
|
@ -379,6 +381,7 @@ catch(const json::parse_error &e)
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
[[gnu::visibility("hidden")]]
|
||||||
bool
|
bool
|
||||||
ircd::m::event::fetch::should_seek_json(const opts &opts)
|
ircd::m::event::fetch::should_seek_json(const opts &opts)
|
||||||
{
|
{
|
||||||
|
@ -398,6 +401,7 @@ ircd::m::event::fetch::should_seek_json(const opts &opts)
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
[[gnu::visibility("hidden")]]
|
||||||
ircd::string_view
|
ircd::string_view
|
||||||
ircd::m::event::fetch::key(const event::idx *const &event_idx)
|
ircd::m::event::fetch::key(const event::idx *const &event_idx)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue