| 337 | } |
| 338 | |
| 339 | void mapmodelregister_(char **args, int numargs) // read model attributes without loading the model |
| 340 | { |
| 341 | mapmodelattributes ma; |
| 342 | if(numargs > 0) // need a name at least |
| 343 | { |
| 344 | defformatstring(p)("%s%s", mmpath, args[0]); |
| 345 | loopirev(--numargs < MMA_NUM ? numargs : MMA_NUM) ma.n[i] = *args[i + 1] ? newstring(args[i + 1]) : NULL; |
| 346 | setmodelattributes(p, ma); |
| 347 | } |
| 348 | } |
| 349 | COMMANDN(mapmodelregister, mapmodelregister_, "v"); |
| 350 | |
| 351 | void mapmodelregistryclear() |
nothing calls this directly
no test coverage detected