Cleanup: use single underscore prefixes

Double underscores are reserved for implementation macros.
This commit is contained in:
Campbell Barton
2023-11-29 18:05:43 +11:00
parent a144fcfa50
commit 807993d2b7
3 changed files with 4 additions and 4 deletions

View File

@@ -30,7 +30,7 @@ struct UVStretchAngle {
#if defined(WITH_METAL_BACKEND)
/* For apple platforms, vertex data struct must align to minimum per-vertex-stride of 4 bytes.
* Hence, this struct needs to align to 8 bytes. */
int16_t __pad;
int16_t _pad0;
#endif
};
#if defined(WITH_METAL_BACKEND)

View File

@@ -496,7 +496,7 @@ struct ProjPixel {
};
struct ProjPixelClone {
ProjPixel __pp;
ProjPixel _pp;
PixelStore clonepx;
};

View File

@@ -72,8 +72,8 @@ void lineart_count_and_print_render_buffer_memory(struct LineartData *ld);
#define LRT_ITER_ALL_LINES_BEGIN \
{ \
LineartEdge *e; \
for (int __i = 0; __i < ld->pending_edges.next; __i++) { \
e = ld->pending_edges.array[__i];
for (int _i = 0; _i < ld->pending_edges.next; _i++) { \
e = ld->pending_edges.array[_i];
#define LRT_ITER_ALL_LINES_NEXT ; /* Doesn't do anything now with new array setup. */