Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Threaded Mode
Member
***
203 20 Sep 2026 0
#1

Remember: _activate() should be reversible, _install() owns permanent structures.

Returning true from a by-value hook replaces the argument; by-reference hooks mutate in place — check the call site.

Would love to hear how you all handle this.

Curious what everyone else here thinks about it.
Reply
Member
***
198 17 Oct 2026 0
#2

That hooks explanation finally made it click for me.

Interesting — I will have to try that.

I disagree slightly, but I can see where you are coming from.
Reply
Moderator
*****
213 24 Jan 2026 0
#3

Nice plugin, testing it on my dev board now.

The gid=0 trick keeps plugin settings out of the ACP — neat.

That has been my experience as well.
Reply
Member
***
231 23 Oct 2025 0
#4

Nice plugin, testing it on my dev board now.

Could not agree more.

Good point, I had not thought of it that way.
Reply

Users browsing this thread: 2 Guest(s)

Forum Jump: