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

org.teavm.backend.c.stringhash.h Maven / Gradle / Ivy

There is a newer version: 0.2.8
Show newest version
#pragma once
#include 
#include "string.h"

#define TEAVM_HASHTABLE_ENTRIES 512

typedef struct TeaVM_HashtableEntry {
    TeaVM_String* data;
    int32_t hash;
    struct TeaVM_HashtableEntry* next;
} TeaVM_HashtableEntry;

typedef struct TeaVM_HashtableEntrySet {
    TeaVM_HashtableEntry data[TEAVM_HASHTABLE_ENTRIES];
    int32_t size;
    struct TeaVM_HashtableEntrySet* next;
} TeaVM_HashtableEntrySet;

extern TeaVM_HashtableEntrySet* teavm_stringHashtableData;

extern TeaVM_String* teavm_registerString(TeaVM_String*);




© 2015 - 2024 Weber Informatics LLC | Privacy Policy