1 | // natByteBufferImpl.cc
|
---|
2 |
|
---|
3 | /* Copyright (C) 2002, 2003 Free Software Foundation
|
---|
4 |
|
---|
5 | This file is part of libgcj.
|
---|
6 |
|
---|
7 | This software is copyrighted work licensed under the terms of the
|
---|
8 | Libgcj License. Please consult the file "LIBGCJ_LICENSE" for
|
---|
9 | details. */
|
---|
10 |
|
---|
11 | #include <config.h>
|
---|
12 |
|
---|
13 | #include <gcj/cni.h>
|
---|
14 | #include <jvm.h>
|
---|
15 |
|
---|
16 | #include <gnu/java/nio/ByteBufferImpl.h>
|
---|
17 |
|
---|
18 | JArray<jbyte>*
|
---|
19 | gnu::java::nio::ByteBufferImpl::nio_cast(JArray<jbyte>*)
|
---|
20 | {
|
---|
21 | return NULL;
|
---|
22 | }
|
---|
23 |
|
---|
24 | JArray<jbyte>*
|
---|
25 | gnu::java::nio::ByteBufferImpl::nio_cast(JArray<jshort>*)
|
---|
26 | {
|
---|
27 | return NULL;
|
---|
28 | }
|
---|
29 |
|
---|
30 | JArray<jbyte>*
|
---|
31 | gnu::java::nio::ByteBufferImpl::nio_cast(JArray<jint>*)
|
---|
32 | {
|
---|
33 | return NULL;
|
---|
34 | }
|
---|
35 |
|
---|
36 | JArray<jbyte>*
|
---|
37 | gnu::java::nio::ByteBufferImpl::nio_cast(JArray<jlong>*)
|
---|
38 | {
|
---|
39 | return NULL;
|
---|
40 | }
|
---|
41 |
|
---|
42 | JArray<jbyte>*
|
---|
43 | gnu::java::nio::ByteBufferImpl::nio_cast(JArray<jchar>*)
|
---|
44 | {
|
---|
45 | return NULL;
|
---|
46 | }
|
---|
47 |
|
---|
48 | JArray<jbyte>*
|
---|
49 | gnu::java::nio::ByteBufferImpl::nio_cast(JArray<jfloat>*)
|
---|
50 | {
|
---|
51 | return NULL;
|
---|
52 | }
|
---|
53 |
|
---|
54 | JArray<jbyte>*
|
---|
55 | gnu::java::nio::ByteBufferImpl::nio_cast(JArray<jdouble>*)
|
---|
56 | {
|
---|
57 | return NULL;
|
---|
58 | }
|
---|
59 |
|
---|
60 | void
|
---|
61 | gnu::java::nio::ByteBufferImpl::nio_put_Byte(gnu::java::nio::ByteBufferImpl*, jint, jint, jbyte)
|
---|
62 | {
|
---|
63 | }
|
---|
64 |
|
---|
65 | void
|
---|
66 | gnu::java::nio::ByteBufferImpl::nio_put_Char(gnu::java::nio::ByteBufferImpl*, jint, jint, jchar)
|
---|
67 | {
|
---|
68 | }
|
---|
69 |
|
---|
70 | void
|
---|
71 | gnu::java::nio::ByteBufferImpl::nio_put_Short(gnu::java::nio::ByteBufferImpl*, jint, jint, jshort)
|
---|
72 | {
|
---|
73 | }
|
---|
74 |
|
---|
75 | void
|
---|
76 | gnu::java::nio::ByteBufferImpl::nio_put_Int(gnu::java::nio::ByteBufferImpl*, jint, jint, jint)
|
---|
77 | {
|
---|
78 | }
|
---|
79 |
|
---|
80 | void
|
---|
81 | gnu::java::nio::ByteBufferImpl::nio_put_Long(gnu::java::nio::ByteBufferImpl*, jint, jint, jlong)
|
---|
82 | {
|
---|
83 | }
|
---|
84 |
|
---|
85 | void
|
---|
86 | gnu::java::nio::ByteBufferImpl::nio_put_Float(gnu::java::nio::ByteBufferImpl*, jint, jint, jfloat)
|
---|
87 | {
|
---|
88 | }
|
---|
89 |
|
---|
90 | void
|
---|
91 | gnu::java::nio::ByteBufferImpl::nio_put_Double(gnu::java::nio::ByteBufferImpl*, jint, jint, jdouble)
|
---|
92 | {
|
---|
93 | }
|
---|
94 |
|
---|
95 | jbyte
|
---|
96 | gnu::java::nio::ByteBufferImpl::nio_get_Byte(gnu::java::nio::ByteBufferImpl*, jint, jint)
|
---|
97 | {
|
---|
98 | return 0;
|
---|
99 | }
|
---|
100 |
|
---|
101 | jchar
|
---|
102 | gnu::java::nio::ByteBufferImpl::nio_get_Char(gnu::java::nio::ByteBufferImpl*, jint, jint)
|
---|
103 | {
|
---|
104 | return ' ';
|
---|
105 | }
|
---|
106 |
|
---|
107 | jshort
|
---|
108 | gnu::java::nio::ByteBufferImpl::nio_get_Short(gnu::java::nio::ByteBufferImpl*, jint, jint)
|
---|
109 | {
|
---|
110 | return 0;
|
---|
111 | }
|
---|
112 |
|
---|
113 | jint
|
---|
114 | gnu::java::nio::ByteBufferImpl::nio_get_Int(gnu::java::nio::ByteBufferImpl*, jint, jint)
|
---|
115 | {
|
---|
116 | return 0;
|
---|
117 | }
|
---|
118 |
|
---|
119 | jlong
|
---|
120 | gnu::java::nio::ByteBufferImpl::nio_get_Long(gnu::java::nio::ByteBufferImpl*, jint, jint)
|
---|
121 | {
|
---|
122 | return 0;
|
---|
123 | }
|
---|
124 |
|
---|
125 | jfloat
|
---|
126 | gnu::java::nio::ByteBufferImpl::nio_get_Float(gnu::java::nio::ByteBufferImpl*, jint, jint)
|
---|
127 | {
|
---|
128 | return 0.0;
|
---|
129 | }
|
---|
130 |
|
---|
131 | jdouble
|
---|
132 | gnu::java::nio::ByteBufferImpl::nio_get_Double(gnu::java::nio::ByteBufferImpl*, jint, jint)
|
---|
133 | {
|
---|
134 | return 0.0;
|
---|
135 | }
|
---|