< prev index next >

src/java.desktop/share/native/common/awt/debug/debug_trace.h

Print this page
rev 52622 : 8214120: [REDO] Fix sun.awt.nativedebug on X11 platforms

*** 1,7 **** /* ! * Copyright (c) 1999, 2012, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. Oracle designates this --- 1,7 ---- /* ! * Copyright (c) 1999, 2018, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. Oracle designates this
*** 57,71 **** extern void DTrace_Initialize(); extern void DTrace_Shutdown(); void DTrace_DisableMutex(); extern void DTrace_VPrintImpl(const char * fmt, va_list arglist); extern void DTrace_PrintImpl(const char * fmt, ...); ! extern void DTrace_PrintFunction(DTRACE_PRINT_CALLBACK pfn, dtrace_id * pFileTraceId, dtrace_id * pTraceId, const char * file, int line, int argc, const char * fmt, ...); /* these functions are exported only for use in macros-- do not call them directly!!! */ ! extern void DTrace_VPrint(const char * file, int line, int argc, const char * fmt, va_list arglist); ! extern void DTrace_VPrintln(const char * file, int line, int argc, const char * fmt, va_list arglist); /* each file includes this flag indicating module trace status */ static dtrace_id _Dt_FileTraceId = UNDEFINED_TRACE_ID; /* not meant to be called from client code-- --- 57,72 ---- extern void DTrace_Initialize(); extern void DTrace_Shutdown(); void DTrace_DisableMutex(); extern void DTrace_VPrintImpl(const char * fmt, va_list arglist); extern void DTrace_PrintImpl(const char * fmt, ...); ! /* JNIEXPORT because these functions are also called from libawt_xawt */ ! JNIEXPORT void JNICALL DTrace_PrintFunction(DTRACE_PRINT_CALLBACK pfn, dtrace_id * pFileTraceId, dtrace_id * pTraceId, const char * file, int line, int argc, const char * fmt, ...); /* these functions are exported only for use in macros-- do not call them directly!!! */ ! JNIEXPORT void JNICALL DTrace_VPrint(const char * file, int line, int argc, const char * fmt, va_list arglist); ! JNIEXPORT void JNICALL DTrace_VPrintln(const char * file, int line, int argc, const char * fmt, va_list arglist); /* each file includes this flag indicating module trace status */ static dtrace_id _Dt_FileTraceId = UNDEFINED_TRACE_ID; /* not meant to be called from client code--
< prev index next >