Talk:Modulinos: Difference between revisions

Content added Content deleted
Line 42: Line 42:


So, anyways, I think this task needs some work. Specifically, I think it needs some kind of illustration requirement (where the "scripted main" code gets used by some other code that has its own "main"). Also, the C implementation should compile.
So, anyways, I think this task needs some work. Specifically, I think it needs some kind of illustration requirement (where the "scripted main" code gets used by some other code that has its own "main"). Also, the C implementation should compile.

Yes, the C program is ambiguous. I added a note about scriptedmain.h, which is supposed to be empty; it only serves as a placeholder for a C program (https://github.com/mcandre/scriptedmain/blob/master/test.c), which loads scriptedmain.c to confirm that indeed scriptedmain's main() is not executed. --[[User:Mcandre|Mcandre]]


-- [[User:Rdm|Rdm]] 17:51, 4 March 2011 (UTC)
-- [[User:Rdm|Rdm]] 17:51, 4 March 2011 (UTC)
Line 52: Line 50:


in scriptedmain.c, when the main file is being used in a library?
in scriptedmain.c, when the main file is being used in a library?

Yes, the C program is ambiguous. I added a note about scriptedmain.h, which is supposed to be empty; it only serves as a placeholder for a C program (https://github.com/mcandre/scriptedmain/blob/master/test.c), which loads scriptedmain.c to confirm that indeed scriptedmain's main() is not executed. --[[User:Mcandre|Mcandre]]