< prev index next >

test/jdk/java/foreign/libIntrinsics.c

Print this page
@@ -20,19 +20,25 @@
   *  or visit www.oracle.com if you need additional information or have any
   *  questions.
   *
   */
  
+ #include <stdbool.h>
+ 
  #ifdef _WIN64
  #define EXPORT __declspec(dllexport)
  #else
  #define EXPORT
  #endif
  
  EXPORT void empty() {
  }
  
+ EXPORT bool identity_bool(bool x) {
+     return x;
+ }
+ 
  EXPORT char identity_char(char x) {
      return x;
  }
  
  EXPORT short identity_short(short x) {
< prev index next >