nmlgc
456768a4ff
[Contributing] Define `struct`, `class` and `template` naming conventions
...
Again, these are what I've been mostly following, apart from a few
inconsistencies which this commit also fixes.
Part of P0207, funded by GhostPhanom.
2022-08-08 20:10:38 +02:00
nmlgc
bca1b7d38a
[Maintenance] Add a `nullptr` polyfill to platform.h
...
Which allows us to remove <stddef.h> from translation units that just
needed it for `NULL`.
Part of P0203, funded by [Anonymous] and GhostRiderCog.
2022-07-10 13:02:51 +02:00
nmlgc
a2358bef47
[Maintenance] Remove `extern "C"` from `x86real.h` and `decomp.hpp`
...
One of those per delivery now, eh?
Part of P0189, funded by Arandui and Lmocinemod.
2022-04-16 23:53:46 +02:00
nmlgc
ff3d2cafe4
[Maintenance] Highlight dependencies on pseudoregisters with the `asm` keyword
...
These make up 41% of all our current inline ASM blocks, and *should*
break on other compilers.
Part of P0183, funded by Yanga and [Anonymous].
2022-02-18 09:36:34 +01:00
nmlgc
ba9fe94b42
[Maintenance] Consistently use { brackets } for inline assembly
...
Part of P0183, funded by Yanga and [Anonymous].
2022-02-18 09:36:34 +01:00
nmlgc
6058395372
[Maintenance] Change the inline assembly keyword to `_asm`
...
The single underscore version is actually slightly more supported among
the compilers I've seen so far. Also added the exact list now.
Part of P0183, funded by Yanga and [Anonymous].
2022-02-18 09:36:34 +01:00
nmlgc
1d05642866
[Maintenance] [th03/th04/th05] .CDG: Mirror implementation macros in ASM land
...
We introduced those in 25caa85
.
Part of P0137, funded by [Anonymous].
2021-04-03 22:16:01 +02:00
nmlgc
1244bd74e7
[Maintenance] Prefer the -zC and -zP options over `#pragma codeseg`
...
Might look uglier, but has the advantage of not generating an empty
segment with the default name… *and* the default padding, which will
really come in handy with the following breakthrough.
Part of P0137, funded by [Anonymous].
2021-04-03 20:12:09 +02:00
nmlgc
25caa85ef8
[Decompilation] [th04/th05] cdg_put_noalpha_8()
...
Getting better at making this more readable…
Part of P0136, funded by [Anonymous].
2021-03-20 02:36:40 +01:00