Click here to Skip to main content
15,885,201 members
Articles / Containers / Virtual Machine

Integrating Visual C++, Java and Assembly

Rate me:
Please Sign up or sign in to vote.
4.87/5 (33 votes)
10 Dec 2002CPOL6 min read 150.6K   1.8K   76  
This article shows a way of integrating Java, C++ and Assembler
/* DO NOT EDIT THIS FILE - it is machine generated */
#include <jni.h>
/* Header for class sysInfo */

#ifndef _Included_sysInfo
#define _Included_sysInfo
#ifdef __cplusplus
extern "C" {
#endif
/*
 * Class:     sysInfo
 * Method:    getCPUSpeed
 * Signature: ()I
 */
JNIEXPORT jint JNICALL Java_sysInfo_getCPUSpeed
  (JNIEnv *, jclass);

/*
 * Class:     sysInfo
 * Method:    getCPUType
 * Signature: ()Ljava/lang/String;
 */
JNIEXPORT jstring JNICALL Java_sysInfo_getCPUType
  (JNIEnv *, jclass);

/*
 * Class:     sysInfo
 * Method:    getCPUFamily
 * Signature: ()I
 */
JNIEXPORT jint JNICALL Java_sysInfo_getCPUFamily
  (JNIEnv *, jclass);

/*
 * Class:     sysInfo
 * Method:    getCPUModal
 * Signature: ()I
 */
JNIEXPORT jint JNICALL Java_sysInfo_getCPUModal
  (JNIEnv *, jclass);

/*
 * Class:     sysInfo
 * Method:    getCPUStepping
 * Signature: ()I
 */
JNIEXPORT jint JNICALL Java_sysInfo_getCPUStepping
  (JNIEnv *, jclass);

#ifdef __cplusplus
}
#endif
#endif

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Team Leader American Institute for Research
United States United States
Working as a Team leader in American Institute for Research

Comments and Discussions