Code Monkey home page Code Monkey logo

termgl's Introduction

/* runs on x86 linux and osx; must compile using gcc with -m32 */
__attribute__((section(".text#")))main[]={15263113,89<<24,
3088892291,4,443,1751552,32973<<16,440,1999900416,1702128239,
1919364715,841902689,1077162032,1767992679,1868770924,109};

termgl's People

Contributors

wojciech-graj avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

termgl's Issues

possible memory corruption issue in `tgl_puts`?

TermGL/src/termgl.c

Lines 163 to 164 in d95752b

char *c_ptr = str;
while (c_ptr) {

What is the purpose of checking c_ptr as a pointer value itself?
Is it supposed to check if c_ptr is NULL or check if the dereference of c_ptr is 0/null terminator?

if it's supposed to be both, I'd argue for while(c_ptr && *c_ptr != 0)

License Information

Hi,

thanks a lot for sharing this.
It's a very nice project.

I built a simple "fun"/"toy" application that uses TermGL.
My application connects to some other Open Source project of mine via a Message-oriented Middleware (MoM) and renders data received from the MoM in 3D in the terminal via TermGL.

I would like to share this application as Open Source on GitHub as well.
To properly give credit to TermGL, it would be great if there was some information about the TermGL license.
Is it possible for you to add license information to TermGL?

Thanks in advance and cheers,
Ruediger

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.