alloc.xml

来自「这是一个C的源代码」· XML 代码 · 共 24 行

XML
24
字号
<chapter><title>Custom Allocation</title><para>Like GMP, PBC can be instructed to use custom memory allocation functions.This must be done before any memory allocation is performed,usually at the beginning of a program before any other PBC functions havebeen called.</para><para>Also like GMP, the PBC wrappers around <function>malloc</function>and <function>realloc</function> will print a message on standard errorand terminate program execution if the calls fail.Replacements for these functions should act similarly.</para><para>However, unlike GMP, PBC does not pass the number of bytes previously allocatedalong with the pointer in calls to <function>realloc</function> and<function>free</function>.</para><variablelist>&alloc;</variablelist></chapter>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?