/* Automatically generated by
	VMPluginCodeGenerator Melchor-tonel.1 uuid: 34993ece-17ff-0d00-a292-69d7048d36f2
   from
	FloatArrayPlugin VMMaker-tonel.1 uuid: 19f96ace-17ff-0d00-a297-4323048d36f2
 */
static char __buildInfo[] = "FloatArrayPlugin VMMaker-tonel.1 uuid: 19f96ace-17ff-0d00-a297-4323048d36f2 " __DATE__ ;



#include "config.h"
#include <math.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <time.h>

/* Default EXPORT macro that does nothing (see comment in sq.h): */
#define EXPORT(returnType) returnType

/* Do not include the entire sq.h file but just those parts needed. */
#include "sqConfig.h"			/* Configuration options */
#include "virtualMachine.h"	/*  The virtual machine proxy definition */
#include "sqPlatformSpecific.h"	/* Platform specific definitions */

#define true 1
#define false 0
#define null 0  /* using 'null' because nil is predefined in Think C */
#ifdef SQUEAK_BUILTIN_PLUGIN
# undef EXPORT
# define EXPORT(returnType) static returnType
#endif

#include "memoryAccess.h"


/*** Constants ***/
#define PrimErrBadReceiver 2


/*** Function Prototypes ***/
EXPORT(const char*) getModuleName(void);
EXPORT(sqInt) primitiveAddFloatArray(void);
EXPORT(sqInt) primitiveAddScalar(void);
EXPORT(sqInt) primitiveAt(void);
EXPORT(sqInt) primitiveAtPut(void);
EXPORT(sqInt) primitiveDivFloatArray(void);
EXPORT(sqInt) primitiveDivScalar(void);
EXPORT(sqInt) primitiveDotProduct(void);
EXPORT(sqInt) primitiveEqual(void);
EXPORT(sqInt) primitiveHashArray(void);
EXPORT(sqInt) primitiveLength(void);
EXPORT(sqInt) primitiveMulFloatArray(void);
EXPORT(sqInt) primitiveMulScalar(void);
EXPORT(sqInt) primitiveNormalize(void);
EXPORT(sqInt) primitiveSubFloatArray(void);
EXPORT(sqInt) primitiveSubScalar(void);
EXPORT(sqInt) primitiveSum(void);
EXPORT(sqInt) setInterpreter(struct VirtualMachine *_anInterpreter);


/*** Variables ***/

#if !defined(SQUEAK_BUILTIN_PLUGIN)
static sqInt (*failed)(void);
static void * (*firstIndexableField)(sqInt oop);
static double (*floatValueOf)(sqInt oop);
static sqInt (*integerValueOf)(sqInt oop);
static sqInt (*isIntegerObject)(sqInt objectPointer);
static sqInt (*isWords)(sqInt oop);
static sqInt (*methodReturnFloat)(double aFloat);
static sqInt (*methodReturnInteger)(sqInt integer);
static sqInt (*pop)(sqInt nItems);
static void (*popthenPush)(sqInt nItems, sqInt oop);
static sqInt (*primitiveFail)(void);
static sqInt (*primitiveFailFor)(sqInt reasonCode);
static sqInt (*pushBool)(sqInt trueOrFalse);
static sqInt (*slotSizeOf)(sqInt oop);
static sqInt (*stSizeOf)(sqInt oop);
static double (*stackFloatValue)(sqInt offset);
static sqInt (*stackIntegerValue)(sqInt offset);
static sqInt (*stackValue)(sqInt offset);
#else /* !defined(SQUEAK_BUILTIN_PLUGIN) */
extern sqInt failed(void);
extern void * firstIndexableField(sqInt oop);
extern double floatValueOf(sqInt oop);
extern sqInt integerValueOf(sqInt oop);
#if !defined(isIntegerObject)
extern sqInt isIntegerObject(sqInt objectPointer);
#endif /* !defined(isIntegerObject) */
extern sqInt isWords(sqInt oop);
extern sqInt methodReturnFloat(double aFloat);
extern sqInt methodReturnInteger(sqInt integer);
extern sqInt pop(sqInt nItems);
extern void popthenPush(sqInt nItems, sqInt oop);
extern sqInt primitiveFail(void);
extern sqInt primitiveFailFor(sqInt reasonCode);
extern sqInt pushBool(sqInt trueOrFalse);
extern sqInt slotSizeOf(sqInt oop);
extern sqInt stSizeOf(sqInt oop);
extern double stackFloatValue(sqInt offset);
extern sqInt stackIntegerValue(sqInt offset);
extern sqInt stackValue(sqInt offset);
extern
#endif
struct VirtualMachine* interpreterProxy;
static const char *moduleName =
#ifdef SQUEAK_BUILTIN_PLUGIN
	"FloatArrayPlugin VMMaker-tonel.1 (i)"
#else
	"FloatArrayPlugin VMMaker-tonel.1 (e)"
#endif
;

/*	Note: This is hardcoded so it can be run from Squeak. 
	The module name is used for validating a module *after* 
	it is loaded to check if it does really contain the module 
	we're thinking it contains. This is important! */
/* InterpreterPlugin>>#getModuleName */
EXPORT(const char*)
getModuleName(void)
{
	return moduleName;
}
/*	Primitive. Add the receiver and the argument, both Float32Arrays and store 
	the result into the receiver. */
/* FloatArrayPlugin>>#primitiveAddFloatArray */
EXPORT(sqInt)
primitiveAddFloatArray(void)
{
	sqInt _arg;
	float *_argPtr;
	sqInt _i;
	sqInt _length;
	sqInt _rcvr;
	float *_rcvrPtr;

	_arg = stackValue(0);
	_rcvr = stackValue(1);
	if (!((isWords(_arg)) && ((isWords(_rcvr)) && (((_length = stSizeOf(_arg))) == (stSizeOf(_rcvr)))))) {
		return primitiveFail();
	}
	_rcvrPtr = ((float *) (firstIndexableField(_rcvr)) );
	_argPtr = ((float *) (firstIndexableField(_arg)) );
	for (_i = 0; _i < _length; _i += 1) {
		_rcvrPtr[_i] = ((double) (_rcvrPtr[_i]) ) + ((double) (_argPtr[_i]) );
	}
	pop(1);
	return 0;
}
/*	Primitive. Add the argument, a scalar value to the receiver, a 
	Float32Array  */
/* FloatArrayPlugin>>#primitiveAddScalar */
EXPORT(sqInt)
primitiveAddScalar(void)
{
	sqInt _i;
	sqInt _length;
	sqInt _rcvr;
	float *_rcvrPtr;
	double _value;

	_value = stackFloatValue(0);
	if (failed()) {
		return null;
	}
	_rcvr = stackValue(1);
	if (!(isWords(_rcvr))) {
		return primitiveFail();
	}
	_length = stSizeOf(_rcvr);
	_rcvrPtr = ((float *) (firstIndexableField(_rcvr)) );
	for (_i = 0; _i < _length; _i += 1) {
		_rcvrPtr[_i] = ((double) (_rcvrPtr[_i]) ) + _value;
	}
	pop(1);
	return 0;
}
/* FloatArrayPlugin>>#primitiveAt */
EXPORT(sqInt)
primitiveAt(void)
{
	float *_floatPtr;
	sqInt _index;
	sqInt _rcvr;

	_index = stackIntegerValue(0);
	_rcvr = stackValue(1);
	if (!((!(failed())) && ((isWords(_rcvr)) && ((_index > 0) && (_index <= (slotSizeOf(_rcvr))))))) {
		return primitiveFail();
	}
	_floatPtr = ((float *) (firstIndexableField(_rcvr)) );
	methodReturnFloat(_floatPtr[_index - 1]);
	return 0;
}
/* FloatArrayPlugin>>#primitiveAtPut */
EXPORT(sqInt)
primitiveAtPut(void)
{
	float *_floatPtr;
	double _floatValue;
	sqInt _index;
	sqInt _rcvr;
	sqInt _value;

	_value = stackValue(0);
	_floatValue = ((isIntegerObject(_value))
		 ? ((double) (integerValueOf(_value)) )
		 : floatValueOf(_value));
	_index = stackIntegerValue(1);
	_rcvr = stackValue(2);
	if (!((!(failed())) && ((isWords(_rcvr)) && ((_index > 0) && (_index <= (slotSizeOf(_rcvr))))))) {
		return primitiveFail();
	}
	_floatPtr = ((float *) (firstIndexableField(_rcvr)) );
	_floatPtr[_index - 1] = ((float) _floatValue );
	popthenPush(3, _value);
	return 0;
}
/*	Primitive. Divide each element in the receiver by the corresponding 
	element in the argument, both FloatArrays, and store the result into the 
	receiver.  */
/* FloatArrayPlugin>>#primitiveDivFloatArray */
EXPORT(sqInt)
primitiveDivFloatArray(void)
{
	sqInt _arg;
	float *_argPtr;
	sqInt _i;
	sqInt _length;
	sqInt _rcvr;
	float *_rcvrPtr;

	_arg = stackValue(0);
	_rcvr = stackValue(1);
	if (!((isWords(_arg)) && ((isWords(_rcvr)) && (((_length = stSizeOf(_arg))) == (stSizeOf(_rcvr)))))) {
		return primitiveFail();
	}
	_rcvrPtr = ((float *) (firstIndexableField(_rcvr)) );
	_argPtr = ((float *) (firstIndexableField(_arg)) );
	for (_i = 0; _i < _length; _i += 1) {
		if ((_argPtr[_i]) == 0.0f) {
			return primitiveFail();
		}
	}
	for (_i = 0; _i < _length; _i += 1) {
		_rcvrPtr[_i] = ((double) (_rcvrPtr[_i]) ) / ((double) (_argPtr[_i]) );
	}
	pop(1);
	return 0;
}
/*	Primitive. Divide each element in the receiver by the argument, a scalar, 
	and store the result into the receiver, a FloatArray */
/* FloatArrayPlugin>>#primitiveDivScalar */
EXPORT(sqInt)
primitiveDivScalar(void)
{
	sqInt _i;
	double _inverse;
	sqInt _length;
	sqInt _rcvr;
	float *_rcvrPtr;
	double _value;

	_value = stackFloatValue(0);
	if (failed()) {
		return null;
	}
	_rcvr = stackValue(1);
	if (!(isWords(_rcvr))) {
		return primitiveFail();
	}
	_length = stSizeOf(_rcvr);
	_rcvrPtr = ((float *) (firstIndexableField(_rcvr)) );
	_inverse = 1.0 / _value;
	for (_i = 0; _i < _length; _i += 1) {
		_rcvrPtr[_i] = ((double) (_rcvrPtr[_i]) ) * _inverse;
	}
	pop(1);
	return 0;
}
/*	Primitive. Compute the dot product of the receiver and the argument. 
	The dot product is defined as the sum of the products of the individual 
	elements.  */
/* FloatArrayPlugin>>#primitiveDotProduct */
EXPORT(sqInt)
primitiveDotProduct(void)
{
	sqInt _arg;
	float *_argPtr;
	sqInt _i;
	sqInt _length;
	sqInt _rcvr;
	float *_rcvrPtr;
	double _result;

	_arg = stackValue(0);
	_rcvr = stackValue(1);
	if (!((isWords(_arg)) && ((isWords(_rcvr)) && (((_length = stSizeOf(_arg))) == (stSizeOf(_rcvr)))))) {
		return primitiveFail();
	}
	_rcvrPtr = ((float *) (firstIndexableField(_rcvr)) );
	_argPtr = ((float *) (firstIndexableField(_arg)) );
	_result = 0.0;
	for (_i = 0; _i < _length; _i += 1) {
		_result += ((double) (_rcvrPtr[_i]) ) * ((double) (_argPtr[_i]) );
	}
	methodReturnFloat(_result);
	return 0;
}
/* FloatArrayPlugin>>#primitiveEqual */
EXPORT(sqInt)
primitiveEqual(void)
{
	sqInt _arg;
	float *_argPtr;
	sqInt _i;
	sqInt _length;
	sqInt _rcvr;
	float *_rcvrPtr;

	_arg = stackValue(0);
	_rcvr = stackValue(1);
	if (!((isWords(_arg)) && (isWords(_rcvr)))) {
		return primitiveFail();
	}
	pop(2);
	if (!(((_length = stSizeOf(_arg))) == (stSizeOf(_rcvr)))) {
		return pushBool(0);
	}
	_rcvrPtr = ((float *) (firstIndexableField(_rcvr)) );
	_argPtr = ((float *) (firstIndexableField(_arg)) );
	for (_i = 0; _i < _length; _i += 1) {
		if (!((_rcvrPtr[_i]) == (_argPtr[_i]))) {
			return pushBool(0);
		}
	}
	return pushBool(1);
}
/* FloatArrayPlugin>>#primitiveHashArray */
EXPORT(sqInt)
primitiveHashArray(void)
{
	sqInt _i;
	sqInt _length;
	sqInt _rcvr;
	int *_rcvrPtr;
	int _result;

	_rcvr = stackValue(0);
	if (!(isWords(_rcvr))) {
		return primitiveFail();
	}
	_length = stSizeOf(_rcvr);
	_rcvrPtr = ((int *) (firstIndexableField(_rcvr)) );
	_result = 0;
	for (_i = 0; _i < _length; _i += 1) {
		_result += _rcvrPtr[_i];
	}
	methodReturnInteger(_result & 0x1FFFFFFF);
	return 0;
}
/*	Primitive. Compute the length of the argument (sqrt of sum of component 
	squares).  */
/* FloatArrayPlugin>>#primitiveLength */
EXPORT(sqInt)
primitiveLength(void)
{
	sqInt _i;
	double _len;
	sqInt _length;
	sqInt _rcvr;
	float *_rcvrPtr;

	_rcvr = stackValue(0);
	if (!(isWords(_rcvr))) {
		return primitiveFailFor(PrimErrBadReceiver);
	}
	_length = stSizeOf(_rcvr);
	_rcvrPtr = ((float *) (firstIndexableField(_rcvr)) );
	_len = 0.0;
	for (_i = 0; _i < _length; _i += 1) {
		_len += ((double) (_rcvrPtr[_i]) ) * ((double) (_rcvrPtr[_i]) );
	}
	if (!(_len > 0.0)) {
		return primitiveFailFor(PrimErrBadReceiver);
	}
	methodReturnFloat(sqrt(_len));
	return 0;
}
/*	Primitive. Multiply the receiver and the argument, both FloatArrays and 
	store the result into the receiver. */
/* FloatArrayPlugin>>#primitiveMulFloatArray */
EXPORT(sqInt)
primitiveMulFloatArray(void)
{
	sqInt _arg;
	float *_argPtr;
	sqInt _i;
	sqInt _length;
	sqInt _rcvr;
	float *_rcvrPtr;

	_arg = stackValue(0);
	_rcvr = stackValue(1);
	if (!((isWords(_arg)) && ((isWords(_rcvr)) && (((_length = stSizeOf(_arg))) == (stSizeOf(_rcvr)))))) {
		return primitiveFail();
	}
	_rcvrPtr = ((float *) (firstIndexableField(_rcvr)) );
	_argPtr = ((float *) (firstIndexableField(_arg)) );
	for (_i = 0; _i < _length; _i += 1) {
		_rcvrPtr[_i] = ((double) (_rcvrPtr[_i]) ) * ((double) (_argPtr[_i]) );
	}
	pop(1);
	return 0;
}
/*	Primitive. Multiply elements in the receiver, a FloatArray, by argument, a 
	scalar value, and store the result into the receiver. */
/* FloatArrayPlugin>>#primitiveMulScalar */
EXPORT(sqInt)
primitiveMulScalar(void)
{
	sqInt _i;
	sqInt _length;
	sqInt _rcvr;
	float *_rcvrPtr;
	double _value;

	_value = stackFloatValue(0);
	if (failed()) {
		return null;
	}
	_rcvr = stackValue(1);
	if (!(isWords(_rcvr))) {
		return primitiveFail();
	}
	_length = stSizeOf(_rcvr);
	_rcvrPtr = ((float *) (firstIndexableField(_rcvr)) );
	for (_i = 0; _i < _length; _i += 1) {
		_rcvrPtr[_i] = ((double) (_rcvrPtr[_i]) ) * _value;
	}
	pop(1);
	return 0;
}
/*	Primitive. Normalize the argument (A FloatArray) in place. */
/* FloatArrayPlugin>>#primitiveNormalize */
EXPORT(sqInt)
primitiveNormalize(void)
{
	sqInt _i;
	double _len;
	sqInt _length;
	sqInt _rcvr;
	float *_rcvrPtr;

	_rcvr = stackValue(0);
	if (!(isWords(_rcvr))) {
		return primitiveFailFor(PrimErrBadReceiver);
	}
	_length = stSizeOf(_rcvr);
	_rcvrPtr = ((float *) (firstIndexableField(_rcvr)) );
	_len = 0.0;
	for (_i = 0; _i < _length; _i += 1) {
		_len += ((double) (_rcvrPtr[_i]) ) * ((double) (_rcvrPtr[_i]) );
	}
	if (!(_len > 0.0)) {
		return primitiveFailFor(PrimErrBadReceiver);
	}
	_len = sqrt(_len);
	for (_i = 0; _i < _length; _i += 1) {
		_rcvrPtr[_i] = ((double) (_rcvrPtr[_i]) ) / _len;
	}
	return 0;
}
/*	Primitive. Subtract each element in the argument from each element in the 
	receiver, both FloatArrays and store the result into the receiver. */
/* FloatArrayPlugin>>#primitiveSubFloatArray */
EXPORT(sqInt)
primitiveSubFloatArray(void)
{
	sqInt _arg;
	float *_argPtr;
	sqInt _i;
	sqInt _length;
	sqInt _rcvr;
	float *_rcvrPtr;

	_arg = stackValue(0);
	_rcvr = stackValue(1);
	if (!((isWords(_arg)) && ((isWords(_rcvr)) && (((_length = stSizeOf(_arg))) == (stSizeOf(_rcvr)))))) {
		return primitiveFail();
	}
	_rcvrPtr = ((float *) (firstIndexableField(_rcvr)) );
	_argPtr = ((float *) (firstIndexableField(_arg)) );
	for (_i = 0; _i < _length; _i += 1) {
		_rcvrPtr[_i] = ((double) (_rcvrPtr[_i]) ) - ((double) (_argPtr[_i]) );
	}
	pop(1);
	return 0;
}
/*	Primitive. Subtract the argument, a scalar value from each element in the 
	receiver, a FloatArray */
/* FloatArrayPlugin>>#primitiveSubScalar */
EXPORT(sqInt)
primitiveSubScalar(void)
{
	sqInt _i;
	sqInt _length;
	sqInt _rcvr;
	float *_rcvrPtr;
	double _value;

	_value = stackFloatValue(0);
	if (failed()) {
		return null;
	}
	_rcvr = stackValue(1);
	if (!(isWords(_rcvr))) {
		return primitiveFail();
	}
	_length = stSizeOf(_rcvr);
	_rcvrPtr = ((float *) (firstIndexableField(_rcvr)) );
	for (_i = 0; _i < _length; _i += 1) {
		_rcvrPtr[_i] = ((double) (_rcvrPtr[_i]) ) - _value;
	}
	pop(1);
	return 0;
}
/*	Primitive. Answer the sum of each float in the receiver, a FloatArray. */
/* FloatArrayPlugin>>#primitiveSum */
EXPORT(sqInt)
primitiveSum(void)
{
	sqInt _i;
	sqInt _length;
	sqInt _rcvr;
	float *_rcvrPtr;
	double _sum;

	_rcvr = stackValue(0);
	if (!(isWords(_rcvr))) {
		return primitiveFail();
	}
	_length = stSizeOf(_rcvr);
	_rcvrPtr = ((float *) (firstIndexableField(_rcvr)) );
	_sum = 0.0;
	for (_i = 0; _i < _length; _i += 1) {
		_sum += ((double) (_rcvrPtr[_i]) );
	}
	methodReturnFloat(_sum);
	return 0;
}
/*	Note: This is coded so that it can be run in Squeak. */
/* InterpreterPlugin>>#setInterpreter: */
EXPORT(sqInt)
setInterpreter(struct VirtualMachine *_anInterpreter)
{
	sqInt _ok;

	interpreterProxy = _anInterpreter;
	_ok = ((interpreterProxy->majorVersion()) == (VM_PROXY_MAJOR)) && ((interpreterProxy->minorVersion()) >= (VM_PROXY_MINOR));
	if (_ok) {
		
#    if !(defined(SQUEAK_BUILTIN_PLUGIN))
		{
			
			{
				{
					failed = interpreterProxy->failed;
				}
				{
					firstIndexableField = interpreterProxy->firstIndexableField;
				}
				{
					floatValueOf = interpreterProxy->floatValueOf;
				}
				{
					integerValueOf = interpreterProxy->integerValueOf;
				}
				{
					isIntegerObject = interpreterProxy->isIntegerObject;
				}
				{
					isWords = interpreterProxy->isWords;
				}
				{
					methodReturnFloat = interpreterProxy->methodReturnFloat;
				}
				{
					methodReturnInteger = interpreterProxy->methodReturnInteger;
				}
				{
					pop = interpreterProxy->pop;
				}
				{
					popthenPush = interpreterProxy->popthenPush;
				}
				{
					primitiveFail = interpreterProxy->primitiveFail;
				}
				{
					primitiveFailFor = interpreterProxy->primitiveFailFor;
				}
				{
					pushBool = interpreterProxy->pushBool;
				}
				{
					slotSizeOf = interpreterProxy->slotSizeOf;
				}
				{
					stSizeOf = interpreterProxy->stSizeOf;
				}
				{
					stackFloatValue = interpreterProxy->stackFloatValue;
				}
				{
					stackIntegerValue = interpreterProxy->stackIntegerValue;
				}
				{
					stackValue = interpreterProxy->stackValue;
				}
			}
		}
#    endif /* !(defined(SQUEAK_BUILTIN_PLUGIN)) */
	}
	return _ok;
}


#ifdef SQUEAK_BUILTIN_PLUGIN

static char _m[] = "FloatArrayPlugin";
void* FloatArrayPlugin_exports[][3] = {
	{(void*)_m, "getModuleName", (void*)getModuleName},
	{(void*)_m, "primitiveAddFloatArray\000\000", (void*)primitiveAddFloatArray},
	{(void*)_m, "primitiveAddScalar\000\000", (void*)primitiveAddScalar},
	{(void*)_m, "primitiveAt\000\000", (void*)primitiveAt},
	{(void*)_m, "primitiveAtPut\000\000", (void*)primitiveAtPut},
	{(void*)_m, "primitiveDivFloatArray\000\000", (void*)primitiveDivFloatArray},
	{(void*)_m, "primitiveDivScalar\000\000", (void*)primitiveDivScalar},
	{(void*)_m, "primitiveDotProduct\000\000", (void*)primitiveDotProduct},
	{(void*)_m, "primitiveEqual\000\000", (void*)primitiveEqual},
	{(void*)_m, "primitiveHashArray\000\000", (void*)primitiveHashArray},
	{(void*)_m, "primitiveLength\000\000", (void*)primitiveLength},
	{(void*)_m, "primitiveMulFloatArray\000\000", (void*)primitiveMulFloatArray},
	{(void*)_m, "primitiveMulScalar\000\000", (void*)primitiveMulScalar},
	{(void*)_m, "primitiveNormalize\000\000", (void*)primitiveNormalize},
	{(void*)_m, "primitiveSubFloatArray\000\000", (void*)primitiveSubFloatArray},
	{(void*)_m, "primitiveSubScalar\000\000", (void*)primitiveSubScalar},
	{(void*)_m, "primitiveSum\000\000", (void*)primitiveSum},
	{(void*)_m, "setInterpreter", (void*)setInterpreter},
	{NULL, NULL, NULL}
};

#else /* ifdef SQ_BUILTIN_PLUGIN */

EXPORT(signed char) primitiveAddFloatArrayAccessorDepth = 0;
EXPORT(signed char) primitiveAddScalarAccessorDepth = 0;
EXPORT(signed char) primitiveAtAccessorDepth = 0;
EXPORT(signed char) primitiveAtPutAccessorDepth = 0;
EXPORT(signed char) primitiveDivFloatArrayAccessorDepth = 0;
EXPORT(signed char) primitiveDivScalarAccessorDepth = 0;
EXPORT(signed char) primitiveDotProductAccessorDepth = 0;
EXPORT(signed char) primitiveEqualAccessorDepth = 0;
EXPORT(signed char) primitiveHashArrayAccessorDepth = 0;
EXPORT(signed char) primitiveLengthAccessorDepth = 0;
EXPORT(signed char) primitiveMulFloatArrayAccessorDepth = 0;
EXPORT(signed char) primitiveMulScalarAccessorDepth = 0;
EXPORT(signed char) primitiveNormalizeAccessorDepth = 0;
EXPORT(signed char) primitiveSubFloatArrayAccessorDepth = 0;
EXPORT(signed char) primitiveSubScalarAccessorDepth = 0;
EXPORT(signed char) primitiveSumAccessorDepth = 0;

#endif /* ifdef SQ_BUILTIN_PLUGIN */
