A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2008-October/083240.html below:

[Python-Dev] Proper initialization of structs

[Python-Dev] Proper initialization of structs [Python-Dev] Proper initialization of structsChristian Heimes lists at cheimes.de
Fri Oct 31 14:01:55 CET 2008
Alexandre Vassalotti wrote:
> But what if  PyType_GenericAlloc is used for tp_alloc? As far as I
> know, the memory block allocated with PyType_GenericAlloc is zeroed.

Oh, you are right. The generic allocator uses memset to initialize the
block with \0.

Christian

More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4