Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-1.1
Commits
bbe70b81
Commit
bbe70b81
authored
Aug 01, 2002
by
Tony Castley
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Compilation fixes for C++ environments like BeOS.
parent
1f327d87
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
8 deletions
+8
-8
include/modules_inner.h
include/modules_inner.h
+6
-6
plugins/memcpy/memcpy.c
plugins/memcpy/memcpy.c
+2
-2
No files found.
include/modules_inner.h
View file @
bbe70b81
...
...
@@ -2,7 +2,7 @@
* modules_inner.h : Macros used from within a module.
*****************************************************************************
* Copyright (C) 2001 VideoLAN
* $Id: modules_inner.h,v 1.2
5 2002/07/31 22:54:21 sam
Exp $
* $Id: modules_inner.h,v 1.2
6 2002/08/01 11:04:46 tcastley
Exp $
*
* Authors: Samuel Hocevar <sam@zoy.org>
*
...
...
@@ -116,24 +116,24 @@
#define add_submodule( ) \
p_submodule->pp_shortcuts[ i_shortcut ] = NULL;
\
p_submodule =
vlc_object_create( p_module, VLC_OBJECT_MODULE );
\
p_submodule->pp_shortcuts[ i_shortcut ] = NULL; \
p_submodule =
(module_t *)vlc_object_create( p_module, VLC_OBJECT_MODULE );
\
vlc_object_attach( p_submodule, p_module ); \
p_submodule->b_submodule = VLC_TRUE; \
/* Nuahahaha! Heritage! Polymorphism! Ugliness!! */
\
for( i_shortcut = 0; p_module->pp_shortcuts[ i_shortcut ]; i_shortcut++ ) \
{ \
p_submodule->pp_shortcuts[ i_shortcut ] = \
p_module->pp_shortcuts[ i_shortcut ];
\
p_module->pp_shortcuts[ i_shortcut ]; \
} \
p_submodule->psz_object_name = p_module->psz_object_name; \
p_submodule->psz_program = p_module->psz_program; \
p_submodule->psz_capability = p_module->psz_capability; \
p_submodule->i_score = p_module->i_score; \
p_submodule->i_cpu = p_module->i_cpu; \
p_submodule->pf_activate = NULL;
\
p_submodule->pf_activate = NULL; \
p_submodule->pf_deactivate = NULL
#define add_requirement( cap ) \
p_module->i_cpu |= CPU_CAPABILITY_##cap
...
...
plugins/memcpy/memcpy.c
View file @
bbe70b81
...
...
@@ -2,7 +2,7 @@
* memcpy.c : classic memcpy module
*****************************************************************************
* Copyright (C) 2001 VideoLAN
* $Id: memcpy.c,v 1.1
0 2002/07/31 20:56:52 sam
Exp $
* $Id: memcpy.c,v 1.1
1 2002/08/01 11:04:46 tcastley
Exp $
*
* Authors: Samuel Hocevar <sam@zoy.org>
*
...
...
@@ -68,7 +68,7 @@ static int Activate ( vlc_object_t *p_this )
#ifdef MODULE_NAME_IS_memcpy
p_this
->
p_vlc
->
pf_memcpy
=
memcpy
;
#else
p_this
->
p_vlc
->
pf_memcpy
=
E_
(
fast_memcpy
)
;
p_this
->
p_vlc
->
pf_memcpy
=
fast_memcpy
;
#endif
return
VLC_SUCCESS
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment