Giter Club home page Giter Club logo

20centaurifux / datatypes Goto Github PK

View Code? Open in Web Editor NEW
8.0 2.0 0.0 1.69 MB

A collection of various datatypes in C (linked lists, stack, queue, red-black tree, hash table and associated array).

Home Page: http://datatypes.dixieflatline.de

License: GNU General Public License v3.0

Makefile 1.63% C 79.52% CSS 10.73% Python 0.34% C++ 1.29% C# 0.97% Java 0.42% Clojure 0.25% Pascal 0.84% Perl 0.24% Shell 0.09% PHP 0.47% Lua 0.25% M4 2.95%
c datatypes hashtable red-black-tree linked-list abstract-data-types abstract-data-structures

datatypes's Introduction

libdatatypes

Introduction

libdatatypes provides various abstract data types in plain C (C11). It's fast, has a small memory footprint and is well-documented. The library has been tested on x86, x86-64 and ARMv6 with GCC and Clang.

The following data types are available:

  • hash table
  • red-black tree
  • associated array
  • singly-linked list
  • doubly-linked list
  • queue
  • stack
  • byte-buffer
  • asynchronous (message) queue

All data types are generic. Compare and memory allocation functions are customizable.

Building

To build the library GNU Make is required. Please edit the Makefile to change file locations and dependencies.

The asynchronous message queue implementation requires POSIX threads. You can disable this feature in the related section of the Makefile.

If you want to build the library on a Debian based distribution enter the following commands:

$ sudo apt-get install build-essential git
$ git clone https://github.com/20centaurifux/datatypes.git
$ cd datatypes

Now build and install the library:

$ make
$ sudo make install && ldconfig

Documentation

To generate the code documentation please run Doxygen. You find example code in the "test" directory.

datatypes's People

Contributors

20centaurifux avatar reinerh avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.