Skip to content
Permalink
Browse files
Automatic merge of foreign-memaccess+abi into foreign-jextract
  • Loading branch information
duke committed May 7, 2021
2 parents aea7699 + 9472dff commit 534d2122e11280d80db377fcd814cba2a9a94736
Showing with 12 additions and 46 deletions.
  1. +11 −1 test/jdk/java/foreign/libStdLibTest.c
  2. +0 −44 test/jdk/java/foreign/libStdLibTest.h
  3. +1 −1 test/micro/org/openjdk/bench/jdk/incubator/foreign/libStrLen.c
@@ -21,7 +21,17 @@
* questions.
*/

#include "libStdLibTest.h"
#ifdef _WIN64
#define EXPORT __declspec(dllexport)
#else
#define EXPORT
#endif

#include <stdarg.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <time.h>

EXPORT char *libc_strcat(char *str1, const char *str2) {
return strcat(str1, str2);

This file was deleted.

@@ -49,5 +49,5 @@ EXPORT void* malloc_raw(size_t size) {
}

EXPORT void free_raw(void* ptr) {
return free(ptr);
free(ptr);
}

0 comments on commit 534d212

Please sign in to comment.