Campbell Barton
de391cf811
Cleanup: use nullptr instead of zero
2023-08-03 19:17:43 +10:00
Campbell Barton
6d2326dabf
Cleanup: use function style casts
2023-07-31 19:57:32 +10:00
Campbell Barton
52acf6a6ec
Cleanup: correct file names in comments after C -> C++ renaming
...
Use back-tick quotes to differentiate these from plain text.
2023-07-31 13:02:30 +10:00
Campbell Barton
32288bd200
Cleanup: correct struct member comments
2023-07-22 12:15:40 +10:00
Campbell Barton
302887c619
Cleanup: use boolean literals in source/
...
Apply clang-tidy modernize-use-bool-literals to source/.
2023-07-22 11:43:01 +10:00
Campbell Barton
495a198393
Cleanup: use C++ system headers
2023-07-21 16:07:33 +10:00
Campbell Barton
0777c1861e
Cleanup: ignore GCC cast-function-type warning for PyMethodDef's
...
While these warnings point to real errors in the code,
PyMethodDef are an exception where functions with different numbers
of arguments are all cast to the same function type.
2023-07-21 14:08:59 +10:00
Campbell Barton
1153e9f69c
Fix PyAPI getter callbacks missing closure arguments
...
Another instance where a function signature mismatch could theoretically
cause problems but in practice didn't.
2023-07-21 13:50:33 +10:00
Aaron Carlisle
ac764d2498
Fix: missing type casts after recent c++ conversion
...
Fixes mistakes from 6fcecb7e46
2023-07-20 23:12:04 -04:00
Campbell Barton
b29a4cdcfc
Cleanup: various non-functional changes for C++ (python, windowmanager)
...
- Remove redundant void, struct.
- Use function style casts.
2023-07-21 10:59:54 +10:00
Jacques Lucke
6fcecb7e46
BPY: move bpy and mathutils to C++
...
Also see #103343 .
Pull Request: https://projects.blender.org/blender/blender/pulls/110299
2023-07-21 02:18:59 +02:00