Files
test/source/blender/blenlib/intern
Jonas Holzman b427253a4d Obj-C Refactor: General Code Style cleanups
As part of a more general Objective-C GHOST refactor and in an effort to
modernize the macOS backend for further works, this commit cleans up the
codestyle of Objective-C files. Based off the Blender C/C++ style guide,
in addition to some Objective-C specific style changes.

Changes:
- `const` correctness, use nullptr, initializer list for simple struct
- Reduced variable scope for simple functions, removed unused variables
- Use braces for conditional statements, no else after return
- Annotate inheritted function of GHOST Cocoa classes with override and
  use `= default` to define trivial constructors
- Use #import instead of #include for Objective-C headers
    This is only for correctness. As the Objective-C #import directive
    is really just an #include with an implicit #pragma once.
- Use proper C-style comments instead of #pragma mark
    #pragma mark is an XCode feature to mark code chapters, to follow
    the Blender codestyle, and make the Objective-C code more editor
    agnostic, these were replaced with multi-line C-style comments.

Ref #126772

Pull Request: https://projects.blender.org/blender/blender/pulls/126770
2024-09-19 11:37:52 +02:00
..
2024-07-25 10:17:42 +10:00
2024-04-20 12:41:23 +10:00
2024-01-08 11:31:43 +11:00
2024-08-13 20:26:55 +02:00
2024-07-12 15:59:56 +02:00
2024-07-07 00:29:39 +10:00
2024-01-03 13:38:14 +01:00
2024-08-30 16:42:29 +02:00
2024-03-28 20:57:50 +11:00
2024-03-27 10:25:31 +11:00
2024-03-06 16:14:34 +01:00
2024-04-30 12:12:02 +10:00