From fa444f8dcfefd13c6ca78f7193ce1f7dcfe6621f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alexandro=20S=C3=A1nchez=20Bach?= Date: Sun, 16 Feb 2014 14:19:36 -0800 Subject: [PATCH] Updated Coding Style (markdown) --- Coding-Style.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Coding-Style.md b/Coding-Style.md index 374eb0d..eba86a4 100644 --- a/Coding-Style.md +++ b/Coding-Style.md @@ -19,6 +19,7 @@ We recommend to follow these guidelines when writing code for RPCS3. They aren't * Do **not** delete the entries in *rpcs3/Emu/SysCalls/FuncList.cpp* after implenting a function. * Use `mem*_t` arguments instead of `u32 *_addr`. * Pointers to `u8`, `u16`, `u32`, `u64` are respectively `mem8_t`, `mem16_t`, `mem32_t`, `mem64_t`. - * Pointers to the datatype `foo` are `mem_ptr_t`. + * Pointers to the datatype `T` are `mem_ptr_t`. + * Pointers to the function `T (*)(t1 a1, t2 a2)` are `mem_func_ptr_t` * Allocate memory with *MemoryAllocator*. * Don't forget to switch endianness: That is, allocate `u32` with `MemoryAllocator>` \ No newline at end of file