On Fri, Sep 30, 2022 at 9:37 AM Eli Zaretskii wrote: > > > From: Nikolaos Chatzikonstantinou > > Date: Fri, 30 Sep 2022 09:01:06 -0400 > > Cc: rpluim@gmail.com, 50507@debbugs.gnu.org, larsi@gnus.org > > > > On Fri, Sep 30, 2022 at 6:47 AM Eli Zaretskii wrote: > > > > > > > I went with intern. > > > > > > Why not use DEFSYM and then compare against the static symbols? That > > > is more efficient, since the intern call is avoided at run time. > > > > I did not understand the differences between DEFSYM() and > > intern(). Can DEFSYM() be used outside of syms_of_gnutls()? > > Why do you need to use DEFSYM outside of syms_of_gnutls? Nevermind, I had general confusion on how the internals work. Here is the update, using DEFSYM.