History

undo test commenting out code with preprocessor directives

Jack Atherton committed 7 years ago

Commit b91dd1e1 parent db1a1dd26 files · +7454 −7195Browse files

Showing the changes to src/core/chuck.cpp (1 of 26 files). Show all

Unified · Split

src/core/chuck.cpp+30−14
@@ -36,10 +36,20 @@ · 35 unmodified lines
36//-----------------------------------------------------------------------------36//-----------------------------------------------------------------------------
37#include "chuck.h"37#include "chuck.h"
38#include "chuck_errmsg.h"38#include "chuck_errmsg.h"
39//#include "chuck_io.h"39
40//#include "chuck_otf.h"40#ifndef __DISABLE_SERIAL__
41//#include "ulib_machine.h"41#include "chuck_io.h"
42//#include "util_network.h"42#endif
43
44#ifndef __DISABLE_OTF_SERVER__
45#include "chuck_otf.h"
46#include "ulib_machine.h"
47#endif
48
49#ifndef __DISABLE_NETWORK__
50#include "util_network.h"
51#endif
52
43#include "util_string.h"53#include "util_string.h"
44#include "ugen_stk.h"54#include "ugen_stk.h"
45 55
@@ -100,14 +110,16 @@ const char * ChucK::version() · 54 unmodified lines
100 110
101 111
102 112
103////-----------------------------------------------------------------------------113#ifndef __DISABLE_OTF_SERVER__
104//// name: intSize()114//-----------------------------------------------------------------------------
105//// desc: get chuck int size (in bits)115// name: intSize()
106////-----------------------------------------------------------------------------116// desc: get chuck int size (in bits)
107//t_CKUINT ChucK::intSize()117//-----------------------------------------------------------------------------
108//{118t_CKUINT ChucK::intSize()
109// return machine_intsize();119{
110//}120 return machine_intsize();
121}
122#endif
111 123
112 124
113 125
@@ -1322,8 +1334,10 @@ void ChucK::globalCleanup() · 1208 unmodified lines
1322 HidInManager::cleanup();1334 HidInManager::cleanup();
1323 #endif // __ALTER_HID__1335 #endif // __ALTER_HID__
1324 1336
1337 #ifndef __DISABLE_SERIAL__
1325 // shutdown serial1338 // shutdown serial
1326// Chuck_IO_Serial::shutdown();1339 Chuck_IO_Serial::shutdown();
1340 #endif
1327 1341
1328 #ifndef __DISABLE_KBHIT__1342 #ifndef __DISABLE_KBHIT__
1329 // shutdown kb loop1343 // shutdown kb loop
@@ -1368,5 +1382,7 @@ t_CKINT ChucK::getLogLevel() · 38 unmodified lines
1368//-----------------------------------------------------------------------------1382//-----------------------------------------------------------------------------
1369void ChucK::poop()1383void ChucK::poop()
1370{1384{
1371// ::uh();1385 #ifndef __DISABLE_OTF_SERVER__
1386 ::uh();
1387 #endif
1372}1388}

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