How to make closures in C [gist example](gist.github.com)3 points·by addisaden·12년 전·3 commentsgist.github.comHow to make closures in C [gist example]https://gist.github.com/addisaden/d89c7eaed520a2a8c3a12 commentsPost comment[–]addisaden·12년 전replyAfter 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-...[–]piokuc·12년 전replyOK, but nested functions are not allowed in standard C.[–]addisaden·12년 전replyThank you for your Feedback :) Would i get in trouble, when i use this in the future?My experience is not so high on C.
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-...