mirror of
https://github.com/RTimothyEdwards/magic.git
synced 2026-08-31 10:16:01 +02:00
Added a ARG_UNUSED macro in utils/magic.h, which produces a simple cast to void to silence the warnings. The reasons this is used as opposed to an attribute is that most compilers should support this. Besides this, the macro can be easily searched for in the future to potentially remove (where possible) the unused parameters.
TODO ---- NOTE: nested enums are broken do to dynamic binning. Don't rebuild entire bplane when bbox grows. unsubbing sometimes. Some (remaining) bplane design issues: groups? idea: support small number of groups by having separate bplane for each group. Do selection this way. Logically layered on top of bplanes - but may want to integrate. DECISION: defer for now. pack/unpack? Seems incompatible with user alloc/dealloc. Complicated. DECISION: Forget it. coarse/fine with cache. can be added later. should fit in nicely. no special support needed. integrated find/add? can add later. don't worry about it now. May want to add attributes, via external hash.