Fix attributes, add some interfaces

This commit is contained in:
Alexander Mai 2017-06-02 00:59:13 +02:00
parent 5755ac9eeb
commit dc83f6783e
1 changed files with 29 additions and 1 deletions

View File

@ -1,5 +1,21 @@
<?xml version="1.0"?>
<def format="2">
<function name="MrmCloseHierarchy">
<noreturn>false</noreturn>
<arg nr="1">
<not-uninit/>
</arg>
</function>
<function name="MrmOpenHierarchy">
<noreturn>false</noreturn>
<use-retval/>
<arg nr="4"/>
</function>
<function name="MrmOpenHierarchyPerDisplay">
<noreturn>false</noreturn>
<use-retval/>
<arg nr="5"/>
</function>
<function name="XmFontListEntryFree">
<noreturn>false</noreturn>
<arg nr="1">
@ -52,6 +68,17 @@
<not-uninit/>
</arg>
</function>
<resource>
<dealloc>MrmCloseHierarchy</dealloc>
<alloc init="true">MrmOpenHierarchy</alloc>
<alloc init="true">MrmOpenHierarchyPerDisplay</alloc>
</resource>
<!-- May cause false positives:
<resource>
<dealloc>XmClipboardUnlock</dealloc>
<alloc>XmClipboardLock</alloc>
</resource>
-->
<resource>
<dealloc>XmStringFree</dealloc>
<alloc init="true">XmStringCreateLocalized</alloc>
@ -78,7 +105,6 @@
</function>
<function name="XtFree">
<noreturn>false</noreturn>
<use-retval/>
<arg nr="1">
<not-uninit/>
</arg>
@ -118,6 +144,8 @@
<alloc init="true">XtNew</alloc>
<alloc init="true">XtNewString</alloc>
</resource>
<define name="ClipboardFail" value="0"/>
<define name="ClipboardSuccess" value="1"/>
<define name="True" value="1"/>
<define name="False" value="0"/>
</def>