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_instr.cpp (1 of 26 files). Show all

Unified · Split

src/core/chuck_instr.cpp+3−1
@@ -3902,7 +3902,9 @@ Chuck_Object * instantiate_and_initialize_object( Chuck_Type * type, Chuck_VM_Sh · 3901 unmodified lines
39023902 // check type TODO: make this faster
39033903 if( type->allocator )
39043904 object = type->allocator( vm, shred, Chuck_DL_Api::Api::instance() );
3905−// else if( isa( type, vm->env()->t_fileio ) ) object = new Chuck_IO_File( vm );
3905+ #ifndef __DISABLE_FILEIO__
3906+ else if( isa( type, vm->env()->t_fileio ) ) object = new Chuck_IO_File( vm );
3907+ #endif
39063908 else if( isa( type, vm->env()->t_event ) ) object = new Chuck_Event;
39073909 else if( isa( type, vm->env()->t_string ) ) object = new Chuck_String;
39083910 // TODO: is this ok?

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