Add initial configuration file for Motif

This commit is contained in:
Alexander Mai 2017-06-02 00:38:29 +02:00
parent b4a58be113
commit 5755ac9eeb
1 changed files with 123 additions and 0 deletions

123
cfg/motif.cfg Normal file
View File

@ -0,0 +1,123 @@
<?xml version="1.0"?>
<def format="2">
<function name="XmFontListEntryFree">
<noreturn>false</noreturn>
<arg nr="1">
<not-uninit/>
</arg>
</function>
<function name="XmFontListCreate,XmFontListAppendEntry">
<noreturn>false</noreturn>
<use-retval/>
<arg nr="1">
<not-uninit/>
</arg>
<arg nr="2">
<not-uninit/>
</arg>
</function>
<function name="XmStringCreateLocalized">
<noreturn>false</noreturn>
<use-retval/>
<leak-ignore/>
<arg nr="1">
<not-null/>
<not-uninit/>
</arg>
</function>
<function name="XmStringCreateSimple">
<noreturn>false</noreturn>
<use-retval/>
<leak-ignore/>
<arg nr="1">
<not-null/>
<not-uninit/>
</arg>
</function>
<function name="XmStringFree">
<noreturn>false</noreturn>
<arg nr="1">
<not-uninit/>
</arg>
</function>
<function name="XmStringGenerate">
<noreturn>false</noreturn>
<leak-ignore/>
<arg nr="4"/>
</function>
<function name="XmTextGetString,XmTextGetStringWcs">
<noreturn>false</noreturn>
<leak-ignore/>
<arg nr="1">
<not-uninit/>
</arg>
</function>
<resource>
<dealloc>XmStringFree</dealloc>
<alloc init="true">XmStringCreateLocalized</alloc>
<alloc init="true">XmStringCreateSimple</alloc>
<alloc init="true">XmStringGenerate</alloc>
</resource>
<resource>
<dealloc>XtFree</dealloc>
<alloc>XmTextGetString</alloc>
</resource>
<resource>
<dealloc>XmFontListEntryFree</dealloc>
<alloc init="true">XmFontListCreate</alloc>
<alloc init="true">XmFontListAppendEntry</alloc>
</resource>
<!-- Intrinsics, not Motif... -->
<function name="XtAsprintf">
<arg nr="1"/>
<arg nr="2">
<formatstr/>
<not-null/>
<not-uninit/>
</arg>
</function>
<function name="XtFree">
<noreturn>false</noreturn>
<use-retval/>
<arg nr="1">
<not-uninit/>
</arg>
</function>
<function name="XtSetValues,XtGetValues">
<noreturn>false</noreturn>
<leak-ignore/>
<arg nr="3"/>
</function>
<function name="XtSetSubvalues,XtGetSubvalues">
<noreturn>false</noreturn>
<leak-ignore/>
<arg nr="5"/>
</function>
<function name="XtMalloc,XtNew,XtNewString">
<noreturn>false</noreturn>
<use-retval/>
<arg nr="1">
<not-uninit/>
</arg>
</function>
<function name="XtCalloc">
<noreturn>false</noreturn>
<use-retval/>
<arg nr="1">
<not-uninit/>
</arg>
<arg nr="2">
<not-uninit/>
</arg>
</function>
<resource>
<dealloc>XtFree</dealloc>
<alloc init="true">XtMalloc</alloc>
<alloc init="true">XtCalloc</alloc>
<alloc init="true">XtRealloc</alloc>
<alloc init="true">XtNew</alloc>
<alloc init="true">XtNewString</alloc>
</resource>
<define name="True" value="1"/>
<define name="False" value="0"/>
</def>