History

make main() function optional in chuck_main

Spencer Salazar committed 8 years ago

Commit da8834a1 parent 13f67d41 file · +4 −0Browse files

Unified · Split

src/host/chuck_main.cpp+4−0
@@ -115,7 +115,11 @@ t_CKINT g_priority_low = 0x7fffffff; · 114 unmodified lines
115// name: main()115// name: main()
116// desc: ...116// desc: ...
117//-----------------------------------------------------------------------------117//-----------------------------------------------------------------------------
118#ifndef __CHUCK_NO_MAIN__
118int main( int argc, const char ** argv )119int main( int argc, const char ** argv )
120#else
121int chuck_main( int argc, const char ** argv )
122#endif // __CHUCK_NO_MAIN__
119{123{
120 // parse, init, run!124 // parse, init, run!
121 go( argc, argv );125 go( argc, argv );

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t