tdll.c File Reference

#include <windows.h>
#include <stdio.h>
#include <math.h>

Include dependency graph for tdll.c:

Go to the source code of this file.

Functions

int WINAPI DllMain (HINSTANCE hInstance, DWORD reason, PVOID pvReserved)
void doit (double *i, double *j)


Function Documentation

int WINAPI DllMain ( HINSTANCE  hInstance,
DWORD  reason,
PVOID  pvReserved 
)

Definition at line 7 of file tdll.c.

00010 {
00011   switch (reason) 
00012     {
00013     case DLL_PROCESS_ATTACH:
00014       break;
00015     case DLL_PROCESS_DETACH:
00016       break;
00017     case DLL_THREAD_ATTACH:
00018       break;
00019     case DLL_THREAD_DETACH:
00020       break;
00021     }
00022   return 1;
00023 }

void doit ( double *  i,
double *  j 
)

Definition at line 25 of file tdll.c.

Referenced by cdoit(), doit(), idoit(), reinitdoit(), and XawFormDoLayout().

00026 {
00027   printf("Enter doit %f %f\n",*i,*j);
00028   *j= *i + 2*sin(3.14/2);
00029   printf("Exit doit %f %f\n",*i,*j);
00030 }

Here is the caller graph for this function:


Generated on Sun Mar 4 16:07:43 2007 for Scilab [trunk] by  doxygen 1.5.1