History

refactor extension matching

Ge Wang committed 3 years ago

Commit dcebc361 parent 5a68b864 files · +26 −33Browse files

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

Unified · Split

src/core/chuck.cpp+5−13
@@ -740,12 +740,8 @@ void ChucK::probeChugins() · 739 unmodified lines
740 // list of individually named chug-ins (added 1.3.0.0)740 // list of individually named chug-ins (added 1.3.0.0)
741 std::list<std::string> named_dls = getParamStringList( CHUCK_PARAM_USER_CHUGINS );741 std::list<std::string> named_dls = getParamStringList( CHUCK_PARAM_USER_CHUGINS );
742 742
743 //---------------------------------------------------------------------
744 // set origin hint | 1.5.0.0 (ge) added
745 m_carrier->compiler->m_originHint = te_originChugin;
746 //---------------------------------------------------------------------
747 // log743 // log
748 EM_log( CK_LOG_SYSTEM, "loading chugins..." );744 EM_log( CK_LOG_SYSTEM, "probing chugins..." );
749 // push indent level745 // push indent level
750 EM_pushlog();746 EM_pushlog();
751 // load external libs747 // load external libs
@@ -759,18 +755,14 @@ void ChucK::probeChugins() · 7 unmodified lines
759 // pop log755 // pop log
760 EM_poplog();756 EM_poplog();
761 757
762 //---------------------------------------------------------------------
763 // set origin hint | 1.5.0.0 (ge) added
764 m_carrier->compiler->m_originHint = te_originImport;
765 //---------------------------------------------------------------------
766 // log758 // log
767 EM_log( CK_LOG_SYSTEM, "pre-loading ChucK libs..." );759 EM_log( CK_LOG_SYSTEM, "probing pre-loading ChucK libs..." );
768 EM_pushlog();760 EM_pushlog();
769 761
770 // iterate over list of ck files that the compiler found762 // iterate over list of ck files that the compiler found
771 for(std::list<std::string>::iterator j =763 for( std::list<std::string>::iterator j =
772 compiler()->m_cklibs_to_preload.begin();764 compiler()->m_cklibs_to_preload.begin();
773 j != compiler()->m_cklibs_to_preload.end(); j++)765 j != compiler()->m_cklibs_to_preload.end(); j++ )
774 {766 {
775 // the filename767 // the filename
776 std::string filename = *j;768 std::string filename = *j;

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