All Downloads are FREE. Search and download functionalities are using the official Maven repository.

h.ST_deque_t Maven / Gradle / Ivy

There is a newer version: 1.2024.8
Show newest version
// THIS FILE HAS BEEN GENERATED BY A PREPROCESSOR.
package h;

import smetana.core.UnsupportedStarStruct;

final public class ST_deque_t extends UnsupportedStarStruct {

	// ---------------
	public ST_pointnlink_t pnlps[];
	public int pnlpn, fpnlpi, lpnlpi, apex;

	public boolean malloc(int newdqn) {
		this.pnlps = new ST_pointnlink_t[newdqn];
		return true;
	}

	public boolean realloc(int newdqn) {
		if (pnlps.length >= newdqn) {
			return true;
		}
		ST_pointnlink_t pnlps2[] = new ST_pointnlink_t[newdqn];
		for (int i = 0; i < pnlps.length; i++) {
			pnlps2[i] = pnlps[i];
		}
		this.pnlps = pnlps2;
		return true;
	}
	// ---------------






}

// typedef struct deque_t {
// pointnlink_t **pnlps;
// int pnlpn, fpnlpi, lpnlpi, apex;
// } deque_t;




© 2015 - 2024 Weber Informatics LLC | Privacy Policy