summaryrefslogtreecommitdiff
path: root/tests/headers/call-conv-field.h
blob: da45ba1d74fbf96d4f8d6a0943004b7e027e12ae (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// bindgen-flags: --raw-line "#![cfg(not(test))]" -- --target=i686-pc-win32
// bindgen-unstable
//
// We can only check that this builds, but not that it actually passes, because
// we have no CI on the target platform.

struct JNINativeInterface_ {
  int (__stdcall *GetVersion)(void *env);
  unsigned long long __hack; // A hack so the field alignment is the same than
                             // for 64-bit, where we run CI.
};

__stdcall void bar();