equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 1997, 2016, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 1997, 2018, Oracle and/or its affiliates. All rights reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * |
4 * |
5 * This code is free software; you can redistribute it and/or modify it |
5 * This code is free software; you can redistribute it and/or modify it |
6 * under the terms of the GNU General Public License version 2 only, as |
6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. Oracle designates this |
7 * published by the Free Software Foundation. Oracle designates this |
393 void* getProcessHandle(); |
393 void* getProcessHandle(); |
394 |
394 |
395 void buildJniFunctionName(const char *sym, const char *cname, |
395 void buildJniFunctionName(const char *sym, const char *cname, |
396 char *jniEntryName); |
396 char *jniEntryName); |
397 |
397 |
398 extern size_t getLastErrorString(char *buf, size_t len); |
398 JNIEXPORT size_t getLastErrorString(char *buf, size_t len); |
399 extern int getErrorString(int err, char *buf, size_t len); |
399 JNIEXPORT int getErrorString(int err, char *buf, size_t len); |
400 |
400 |
401 #ifdef STATIC_BUILD |
401 #ifdef STATIC_BUILD |
402 /* Macros for handling declaration of static/dynamic |
402 /* Macros for handling declaration of static/dynamic |
403 * JNI library Load/Unload functions |
403 * JNI library Load/Unload functions |
404 * |
404 * |