]> granicus.if.org Git - php/commitdiff
extend ccppcheck defs
authorAnatol Belski <ab@php.net>
Tue, 7 Mar 2017 00:29:45 +0000 (01:29 +0100)
committerAnatol Belski <ab@php.net>
Tue, 7 Mar 2017 00:29:45 +0000 (01:29 +0100)
win32/build/cppcheck.cfg

index 7b90142643ca4c3a0f4975f9f6f7ee12e6819eb3..b90c9e180e77d521f429189e5fa54a62edf3bd74 100644 (file)
                <noreturn>true</noreturn>
                <leak-ignore/>
        </function>
+       <function name="php_hashcontext_dtor">
+               <noreturn>false</noreturn>
+               <arg nr="1">
+                       <not-null/>
+                       <not-uninit/>
+               </arg>
+       </function>
+       <function name="php_hashcontext_create">
+               <noreturn>false</noreturn>
+               <arg nr="1">
+                       <not-null/>
+                       <not-uninit/>
+               </arg>
+       </function>
+       <resource>
+               <alloc init="true">php_hashcontext_create</alloc>
+               <dealloc>php_hashcontext_dtor</dealloc>
+       </resource>
 </def>