Project

General

Profile

« Previous | Next » 

Revision 3935b1c4

Added by jhawthorn (John Hawthorn) 17 days ago

Make class_alloc only accept type

If any other flags were passed other than type they were ignored, so we
might as well be more explicit that that's all this accepts. This also
fixes the incorrect (internal) documentation.

It also turns out type is always known in the caller, so I made it
explicit in the two places additional flags were being passed.