I'm having difficulty adding a list outlet to a MOP object in the location where I want it. I've modified the jit.op example code to support a number of matrix inlets and a single matrix outlet. I want the list outlet as the second outlet; it's giving it to me as the first one.
I am using a call to listout() after a call to max_jit_mop_setup_simple() but before I process attributes using max_jit_attr_args(). This is done at the MOP Max Wrapper level by the constructor to max_fcl_jitagmolto_class. I figure this is a reasonable place to put the call to listout() since this constructor is called after the jitter object is initialized.
Is there a better way to do this? Am I being a bonehead?
I appreciate any advice anyone can offer.