📄 alloc.xml
字号:
<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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -