Generalize "main" to a settable entry point name.
This commit is contained in:
parent
6cc7674b6d
commit
4d65ee31a6
8 changed files with 38 additions and 8 deletions
|
|
@ -290,6 +290,7 @@ public:
|
|||
void setStringsWithLengthsAndNames(
|
||||
const char* const* s, const int* l, const char* const* names, int n);
|
||||
void setPreamble(const char* s) { preamble = s; }
|
||||
void setEntryPoint(const char* entryPoint);
|
||||
|
||||
// Interface to #include handlers.
|
||||
class Includer {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue