Page MenuHomeFreeBSD

Make <sys/queue.h> usable with C++
AbandonedPublic

Authored by vangyzen on Jun 9 2015, 12:48 PM.
Tags
None
Referenced Files
F82568121: D2767.diff
Tue, Apr 30, 9:58 AM
Unknown Object (File)
Sun, Apr 14, 4:47 AM
Unknown Object (File)
Thu, Apr 4, 9:35 PM
Unknown Object (File)
Thu, Apr 4, 9:25 PM
Unknown Object (File)
Thu, Apr 4, 9:24 PM
Unknown Object (File)
Thu, Apr 4, 9:18 PM
Unknown Object (File)
Mar 1 2024, 9:08 PM
Unknown Object (File)
Feb 19 2024, 11:24 PM
Subscribers

Details

Reviewers
None
Summary

Allow the queue macros to be used with C++ classes,
in addition to structures.

Test Plan

Done:
make buildworld on amd64
Pending:
make universe
ports exprun

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage

Event Timeline

vangyzen retitled this revision from to Make <sys/queue.h> usable with C++.
vangyzen updated this object.
vangyzen edited the test plan for this revision. (Show Details)
sys/sys/_callout.h
44

You can also simply add:
"struct callout" here before the LIST_HEAD().

sys/sys/queue.h
147

I think it would be better if this macro was uppercased and took an argument like in D2745, else functionally the same.