Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
soc:2009:oremanj:journal:week5 [2009/06/26 21:54]
rwcr
soc:2009:oremanj:journal:week5 [2009/06/26 22:26] (current)
rwcr
Line 144: Line 144:
   ​   ​
   void * memcpy ( void *dest, const void *src, int len )   void * memcpy ( void *dest, const void *src, int len )
-          __attribute__ (( weak, alias ( "​core_memcpy " ) ));+          __attribute__ (( weak, alias ( "​core_memcpy"​ ) ));
 Then architecture-specific code could just define ''​memcpy''​ directly, no preprocessor tricks needed, and it would supersede the core version. Again, I don't think anything needs this at this point, but it's cool to know - maybe it'll even come in handy someday! :-) Then architecture-specific code could just define ''​memcpy''​ directly, no preprocessor tricks needed, and it would supersede the core version. Again, I don't think anything needs this at this point, but it's cool to know - maybe it'll even come in handy someday! :-)

QR Code
QR Code soc:2009:oremanj:journal:week5 (generated for current page)