]> git.sesse.net Git - vlc/blobdiff - include/common.h
* Borrowed MPlayer's fast memcpy() routines. Best is autodetected, choose
[vlc] / include / common.h
index 5064b4d183d82ddfb5aa8b5cb04d800ca1810270..ee18c48819afbbeafff5f1c933cf28ba5b278219 100644 (file)
@@ -3,7 +3,7 @@
  * Collection of useful common types and macros definitions
  *****************************************************************************
  * Copyright (C) 1998, 1999, 2000 VideoLAN
- * $Id: common.h,v 1.51 2001/11/28 15:08:04 massiot Exp $
+ * $Id: common.h,v 1.52 2001/12/03 16:18:37 sam Exp $
  *
  * Authors: Samuel Hocevar <sam@via.ecp.fr>
  *          Vincent Seguin <seguin@via.ecp.fr>
@@ -237,6 +237,8 @@ struct decoder_fifo_s;
 
 #define I64C(x)         x##LL
 
+/* Pointer to the fast memcpy plugin function */
+extern void* ( * pf_fast_memcpy ) ( void *, const void *, size_t );
 
 /* The win32 specific stuff was getting really big so it has been moved */
 #if defined( WIN32 )
@@ -282,6 +284,8 @@ typedef struct module_symbols_s
     void ( * intf_PlaylistJumpto )  ( struct playlist_s *, int );
     void ( * intf_UrlDecode )       ( char * );
 
+    void*   ( * pf_fast_memcpy ) ( void *, const void *, size_t );
+
     void    ( * msleep )         ( mtime_t );
     mtime_t ( * mdate )          ( void );