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

h.ST_HDict_t Maven / Gradle / Ivy

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

import smetana.core.FieldOffset;
import smetana.core.UnsupportedStarStruct;

final public class ST_HDict_t extends UnsupportedStarStruct {

	public final ST_dtlink_s link = new ST_dtlink_s(this);
	public int key;
	public final ST_Branch_t d = new ST_Branch_t(); /* Should be ST_Leaf_t */

	@Override
	public Object getTheField(FieldOffset offset) {
		if (offset == null || offset.getSign() == 0)
			return this;

		if (offset == FieldOffset.key)
			return key;

		throw new UnsupportedOperationException();
	}

}

// typedef struct obyh {
// Dtlink_t link;
// int key;
// Leaf_t d;
// } HDict_t;




© 2015 - 2025 Weber Informatics LLC | Privacy Policy