// Stub functions for object "Work:StormShell/ppc/Demos/mandel/objects_ppc_debug/mandelcalc.o"
// Generated by genMixBinStub 1.0 for StormC
// © 1997 HAAGE & PARTNER GmbH

// DO NOT EDIT

#ifndef __PPC__
#include <libraries/powerpc.h>
#include <pragma/powerpc_lib.h>
#endif // __PPC__

#ifndef __PPC__
extern "ASM" void _PPCStub__PPCDrawMandelbrot(void);
extern "ASM" void _PPCDrawMandelbrot(void *arg1,void *arg2,long arg3)
{
	struct PPCArgs ppc = { 0 };
	static void (*_PPCData__PPCDrawMandelbrot)(void) = _PPCStub__PPCDrawMandelbrot;
	ppc.PP_Code = _PPCData__PPCDrawMandelbrot;
	long args[3];
	args[0] = (long) arg1;
	args[1] = (long) arg2;
	args[2] = (long) arg3;
	ppc.PP_Regs[0] = (ULONG) args;
	RunPPC(&ppc);
}
#else // __PPC__
extern "ASM" void _PPCDrawMandelbrot(long arg1,long arg2,long arg3);
extern "ASM" void __saveds _PPCStub__PPCDrawMandelbrot(long *args)
{
	_PPCDrawMandelbrot(
		args[0],
		args[1],
		(long) args[2]
	);
}
#endif // __PPC__

