OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [libjava/] [testsuite/] [libjava.jni/] [overload.c] - Blame information for rev 765

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 765 jeremybenn
#include <overload.h>
2
 
3
JNIEXPORT jint JNICALL
4
Java_overload_over__I (JNIEnv *env, jclass klass, jint val)
5
{
6
  return val;
7
}
8
 
9
 
10
JNIEXPORT jint JNICALL
11
Java_overload_over__II (JNIEnv *env, jclass klass, jint one, jint two)
12
{
13
  return one + two;
14
}
15
 
16
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.