Commits

Leonard Ritter committed e48e74e

skipping #pragma

Comments (0)

Files changed (1)

autobind/__init__.py

                     clean_cdefs += '//' + line + ' | excluded by: %s\n' % (active_block_desc(),)
                 elif line.startswith('#include'):
                     continue
+                elif line.startswith('#pragma'):
+                    continue
                 elif line.startswith('#define'):
                     m = re_define.match(line)
                     define = m.group(1)
         
         ffi = FFI()
         ffi.cdef(cdefs)
+        print(VERIFY_OPTIONS)
         capi = ffi.verify(VERIFY_SOURCE, 
             **VERIFY_OPTIONS)
         # crosscheck