stk/Stack/libstack-SUN.c

48 lines
1.2 KiB
C
Raw Normal View History

1998-04-10 06:59:06 -04:00
/******************************************************************************
*
* l i b s t a c k - S U N . c
*
1999-09-05 07:16:41 -04:00
* Copyright <EFBFBD> 1997-1999 Erick Gallesio - I3S-CNRS/ESSI <eg@unice.fr>
1998-04-10 06:59:06 -04:00
*
*
1999-09-05 07:16:41 -04:00
* Permission to use, copy, modify, distribute,and license this
* software and its documentation for any purpose is hereby granted,
* provided that existing copyright notices are retained in all
* copies and that this notice is included verbatim in any
* distributions. No written agreement, license, or royalty fee is
* required for any of the authorized uses.
* This software is provided ``AS IS'' without express or implied
* warranty.
1998-04-10 06:59:06 -04:00
*
*
* Author: Erick Gallesio [eg@unice.fr]
* Creation date: 28-Sep-1997 17:30
1999-09-05 07:16:41 -04:00
* Last file update: 3-Sep-1999 21:06 (eg)
1998-04-10 06:59:06 -04:00
*
******************************************************************************/
/* All arguments are passed on the stack with word alignment. Doubles use 2 words */
#include "libstack.h"
fake_type stk_argv[MAX_EXTERNAL_PARAM];
int stk_argc = 0;
long stk_call_long(void *func)
{
long (*f)() = func;
big_switch;
}
double stk_call_double(void *func)
{
double (*f)() = func;
big_switch;
}
float stk_call_float(void *func)
{
float (*f)() = func;
big_switch;
}