CODECONVENTIONS: Add a short section about how to allocate heap memory.

pull/1379/merge
Damien George 2015-07-20 12:18:16 +01:00
rodzic 75b1d881ec
commit d136737872
1 zmienionych plików z 4 dodań i 0 usunięć

Wyświetl plik

@ -56,6 +56,10 @@ Comments:
- Be concise and only write comments for things that are not obvious.
- Use `// ` prefix, NOT `/* ... */`. No extra fluff.
Memory allocation:
- Use m_new, m_renew, m_del (and friends) to allocate and free heap memory.
These macros are defined in py/misc.h.
Examples
--------