std.cfg: Add offsetof configuration (#1097)
This commit is contained in:
parent
346704b2e2
commit
51fce24d95
|
@ -6345,6 +6345,15 @@ The obsolete function 'gets' is called. With 'gets' you'll get a buffer overrun
|
||||||
<iterator container="2" type="first"/>
|
<iterator container="2" type="first"/>
|
||||||
</arg>
|
</arg>
|
||||||
</function>
|
</function>
|
||||||
|
<!--#define offsetof(type, member) /*implementation-defined*/-->
|
||||||
|
<function name="offsetof">
|
||||||
|
<noreturn>false</noreturn>
|
||||||
|
<returnValue type="std::size_t"/>
|
||||||
|
<use-retval/>
|
||||||
|
<leak-ignore/>
|
||||||
|
<arg nr="1"/>
|
||||||
|
<arg nr="2"/>
|
||||||
|
</function>
|
||||||
<memory>
|
<memory>
|
||||||
<alloc init="false">malloc</alloc>
|
<alloc init="false">malloc</alloc>
|
||||||
<alloc init="true">calloc</alloc>
|
<alloc init="true">calloc</alloc>
|
||||||
|
|
Loading…
Reference in New Issue