Andes Workshop
http://forum.andestech.com/

function不想被合併到其他function裡
http://forum.andestech.com/viewtopic.php?f=16&t=209
Page 1 of 1

Author:  cindy [ Tue Dec 06, 2011 2:45 pm ]
Post subject:  function不想被合併到其他function裡

在function後加上__attribute__((noinline))就可以避免被合併到其他function。
完整的寫法:

void Function3(void) __attribute__((noinline));

void Function3(){

//這裡我沒寫..
}

Page 1 of 1 All times are UTC + 8 hours [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/