예제 #1
0
 /** configure through script
     right now, you can only specify the file name prefix
 */
 void configure(const hold_string_type & str) {
     // configure - the file prefix, for now
     non_const_context_base::context().m_name_prefix.assign( str.begin(), str.end());
     non_const_context_base::context().m_cur_idx = 0;
     non_const_context_base::context().restart();
 }
예제 #2
0
파일: file.hpp 프로젝트: Stevejohntest/hpx
 /** configure through script
     right now, you can only specify the file name
 */
 void configure(const hold_string_type & str) {
     // configure - the file name, for now
     non_const_context_base::context().close();
     non_const_context_base::context().name.assign( str.begin(), str.end() );
 }