add missing malloc() result casts in embedding main program code

--HG--
extra : transplant_source : %FE%A5%0B%83%D2%A8d%B01w%1C%3C%C8%A6%ED%FE%19%3D%00%FE
A couple of DebugTransform fixes.

--HG--
extra : transplant_source : %9F%CF%A5%F6%88H%DA%FFqJx%F5%7F%A1%CFD%1F%B5%09U
safety fix

--HG--
extra : transplant_source : 5%0D2%F33%DF%23%1CV%DFf%17%A1%7B%8B%25%E2A%20%F2
safety fix

--HG--
extra : transplant_source : %B5%FFz%CA%F5%F5%D3%2B%CF%DF%FE%F1%11%14%1EI%23x%00%0D
fix shrinking and overflow in cpython.array

--HG--
extra : transplant_source : %AA%EEbVu%DE%10%27%F1%E6%12%BE%077%3B%40%15%3F%A9O
add some missing CPython 2.x declarations

--HG--
extra : transplant_source : %D2%CB%B8%BF%F3%B7t%81%3F%ABQ%0D%D4%60%0B%90%40%E3%D9%CD
explain how to use language='c++' before Cython 0.21.1 (patch by Daniele Nicolodi)

--HG--
extra : transplant_source : %2B%CA%A8%08%D73%D22%E3%C5_7H87C%94%E5%FB%3E
clarify comment in caveats.rst

--HG--
extra : transplant_source : %91%5B%F1%3Dp%C5%9A%A7%1DG%DB%1F%D1%0B%01f%85%24%F4E
slightly update "sharing declarations" section

--HG--
extra : transplant_source : l%B5%E76%1B%7F%B0%17%5B%E3%7F%C2uO5%AA%E4%BE%97%0F
fix typo

--HG--
extra : transplant_source : Gt%DD%FB%BEVI9%C1%BD%FB%FA%1D%85%85%BB%00%B6%FC%2B
update "external C code" docs

--HG--
extra : transplant_source : c%B9V%7B%E3%DE%9AJ%B78%A0%03I%D8%8D%EBbF%1E%BE
reference naming conflict resolution from C++ wrapping doc, show how to wrap C++ objects in cdef class attributes

--HG--
extra : transplant_source : %D8%F9%A3%AFG%CB%1F6%B8F9%E6i%81%2C%23%40%A9%3F-
Document implicit return value behaviour of cdef functions.

--HG--
extra : transplant_source : %FB/K%D2%ED5%9EN%94%139%07A%ECq%1C%C7%E8%D7%0C
"nogil" for C++ casts

--HG--
extra : transplant_source : %E0%C5%BDo%E6%D5GJ%92%14m%88%03%1C%B1%0B%1B%1B%98%C4
Fix code-example syntax in documentation

The trailing ``::`` mean that the string ``:file:`volume.pxd`::`` was being treated as the code example and therefore ``cdef float cube(float)`` was simply indented as regular font.

--HG--
extra : transplant_source : P%13%13%B8%0C%08X%B1%EE%C0%5DA%00e%60%29%E8%EC%E0%FB
Emit DL_IMPORT macro for python3

--HG--
extra : transplant_source : %0Dr%DFY%8A%EF%F6%C1%9C/h%B5%23%CE3_%DCE%B2%03
clarify 'with gil' signature in C code wrapping docs

--HG--
extra : transplant_source : %C6%5B%E6p%A8%07V%04%CC%8D%EB%12%BB%A2%87%B5%D3%9A%F0%60
changelog
merge 0.21.x branch into master