News for hackers. Stuff that matters.
Re:How to make closures in C [gist example] by addisaden on Friday May 16, 2014 @09:47AM (#7755451)
After a little review and test i found that this fails.

calling the generated greeting method multiple times would fail. This throws an segmentation fault error.

sorry for this wrong thread.

https://gist.github.com/addisaden/d89c7eaed520a2a8c3a1#file-...

Re:How to make closures in C [gist example] by piokuc on Friday May 16, 2014 @05:26AM (#7754584)
OK, but nested functions are not allowed in standard C.
Re:How to make closures in C [gist example] by addisaden on Friday May 16, 2014 @06:02AM (#7754678)
Thank you for your Feedback :) Would i get in trouble, when i use this in the future?

My experience is not so high on C.