Y
Hacker News
new
|
ask
|
show
|
jobs
by
1718627440
124 days ago
We are talking about C. A destructor function in C is a function that gets called when the library gets unloaded. No you shouldn't have a destructor function for it.
1 comments
Arch-TK
118 days ago
The C language has no such concept of attribute destructor and I am not talking about attribute destructor.
I just mean, in the simple English sense, a function which exists to deallocate a structure.
link
I just mean, in the simple English sense, a function which exists to deallocate a structure.