Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
PojavLauncherTeam
GitHub Repository: PojavLauncherTeam/jdk17u
Path: blob/master/src/jdk.incubator.foreign/windows/native/libWinFallbackLookup/WinFallbackLookup.c
66644 views
1
/*
2
* Copyright (c) 2021, Oracle and/or its affiliates. All rights reserved.
3
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4
*
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
7
* published by the Free Software Foundation. Oracle designates this
8
* particular file as subject to the "Classpath" exception as provided
9
* by Oracle in the LICENSE file that accompanied this code.
10
*
11
* This code is distributed in the hope that it will be useful, but WITHOUT
12
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
13
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
14
* version 2 for more details (a copy is included in the LICENSE file that
15
* accompanied this code).
16
*
17
* You should have received a copy of the GNU General Public License version
18
* 2 along with this work; if not, write to the Free Software Foundation,
19
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
20
*
21
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
22
* or visit www.oracle.com if you need additional information or have any
23
* questions.
24
*/
25
26
#include <stdio.h>
27
#include <time.h>
28
29
// Forces generation of inline code on Windows
30
__declspec(dllexport) void* funcs[] = {
31
// stdio.h
32
&fprintf,
33
&fprintf_s,
34
&fscanf,
35
&fscanf_s,
36
&fwprintf,
37
&fwprintf_s,
38
&fwscanf,
39
&fwscanf_s,
40
&printf,
41
&printf_s,
42
&scanf,
43
&scanf_s,
44
&snprintf,
45
&sprintf,
46
&sprintf_s,
47
&sscanf,
48
&sscanf_s,
49
&swprintf,
50
&swprintf_s,
51
&swscanf,
52
&swscanf_s,
53
&vfprintf,
54
&vfprintf_s,
55
&vfscanf,
56
&vfscanf_s,
57
&vfwprintf,
58
&vfwprintf_s,
59
&vfwscanf,
60
&vfwscanf_s,
61
&vprintf,
62
&vprintf_s,
63
&vscanf,
64
&vscanf_s,
65
&vsnprintf,
66
&vsnprintf_s,
67
&vsprintf,
68
&vsprintf_s,
69
&vsscanf,
70
&vsscanf_s,
71
&vswprintf,
72
&vswprintf_s,
73
&vswscanf,
74
&vswscanf_s,
75
&vwprintf,
76
&vwprintf_s,
77
&vwscanf,
78
&vwscanf_s,
79
&wprintf,
80
&wprintf_s,
81
&wscanf,
82
&wscanf_s,
83
84
// time.h
85
&gmtime
86
};
87
88