0% found this document useful (0 votes)
16 views2 pages

Taller 3 H

The document defines a header file for a DLL project that includes Java classes for performing mathematical operations like addition, subtraction, multiplication, division, and trigonometric functions like sine, cosine, and tangent on double values.
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
16 views2 pages

Taller 3 H

The document defines a header file for a DLL project that includes Java classes for performing mathematical operations like addition, subtraction, multiplication, division, and trigonometric functions like sine, cosine, and tangent on double values.
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 2

// taller3.

h : main header file for the TALLER3 DLL


//
#if !defined(AFX_TALLER3_H__96D144A9_6378_4CEB_83DB_922C1E49DF0F__INCLUDED_)
#define AFX_TALLER3_H__96D144A9_6378_4CEB_83DB_922C1E49DF0F__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#ifndef __AFXWIN_H__
#error include 'stdafx.h' before including this file for PCH
#endif
#include "resource.h" // main symbols
#include <jni.h>
#include <jni_md.h>
/////////////////////////////////////////////////////////////////////////////
// CTaller3App
// See taller3.cpp for the implementation of this class
//
class CTaller3App : public CWinApp
{
public:
CTaller3App();
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CTaller3App)
//}}AFX_VIRTUAL
//{{AFX_MSG(CTaller3App)
// NOTE - the ClassWizard will add and remove member functions h
ere.
// DO NOT EDIT what you see in these blocks of generated code
!
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};

/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before t
he previous line.
#endif // !defined(AFX_TALLER3_H__96D144A9_6378_4CEB_83DB_922C1E49DF0F__INCLUDED
_)
#ifndef _Included_operaciones
#define _Included_operaciones
#ifdef __cplusplus
extern "C" {
#endif
/*
* Class: operaciones
* Method: suma
* Signature: (DD)D
*/
JNIEXPORT jdouble JNICALL Java_operaciones_suma
(JNIEnv *, jobject, jdouble, jdouble);
/*
* Class: operaciones
* Method: resta
* Signature: (DD)D
*/
JNIEXPORT jdouble JNICALL Java_operaciones_resta
(JNIEnv *, jobject, jdouble, jdouble);
/*
* Class: operaciones
* Method: mult
* Signature: (DD)D
*/
JNIEXPORT jdouble JNICALL Java_operaciones_mult
(JNIEnv *, jobject, jdouble, jdouble);
/*
* Class: operaciones
* Method: div
* Signature: (DD)D
*/
JNIEXPORT jdouble JNICALL Java_operaciones_div
(JNIEnv *, jobject, jdouble, jdouble);
/*
* Class: operaciones
* Method: sen
* Signature: (D)D
*/
JNIEXPORT jdouble JNICALL Java_operaciones_sen
(JNIEnv *, jobject, jdouble);
/*
* Class: operaciones
* Method: cos
* Signature: (D)D
*/
JNIEXPORT jdouble JNICALL Java_operaciones_cos
(JNIEnv *, jobject, jdouble);
/*
* Class: operaciones
* Method: tan
* Signature: (D)D
*/
JNIEXPORT jdouble JNICALL Java_operaciones_tan
(JNIEnv *, jobject, jdouble);
#ifdef __cplusplus
}
#endif
#endif

You might also like