Differences From Artifact [ac53062292]:
- File
src/cube.h
— part of check-in
[1ee33c9983]
at
2024-08-03 14:50:31
on branch trunk
— Don't depend on global constructors for commands
This breaks when using ObjC, as these can run before the ObjC module is initialized, resulting in non-working message sends as the selectors are not registered yet. (user: js, size: 14172) [annotate] [blame] [check-ins using]
To Artifact [9271127084]:
- File src/cube.h — part of check-in [f8f97851f3] at 2024-08-03 17:02:33 on branch trunk — Make conoutf take an OFString (user: js, size: 14137) [annotate] [blame] [check-ins using]
︙ | |||
390 391 392 393 394 395 396 | 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 | - + - + - + - + - + | }; // nasty macros for registering script functions, abuses globals to avoid // excessive infrastructure #define COMMANDN(name, fun, nargs) \ OF_CONSTRUCTOR() \ { \ |
︙ |