Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
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-gpu
Commits
62ffefd4
Commit
62ffefd4
authored
Oct 20, 2007
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Protects internal headers against incorrect/multiple inclusions
parent
6dd8082f
Changes
9
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
53 additions
and
5 deletions
+53
-5
src/audio_output/aout_internal.h
src/audio_output/aout_internal.h
+8
-0
src/input/input_internal.h
src/input/input_internal.h
+4
-4
src/input/vlm_internal.h
src/input/vlm_internal.h
+4
-0
src/interface/interface.h
src/interface/interface.h
+8
-0
src/misc/variables.h
src/misc/variables.h
+7
-1
src/modules/configuration.h
src/modules/configuration.h
+4
-0
src/modules/modules.h
src/modules/modules.h
+10
-0
src/playlist/playlist_internal.h
src/playlist/playlist_internal.h
+4
-0
src/stream_output/stream_output.h
src/stream_output/stream_output.h
+4
-0
No files found.
src/audio_output/aout_internal.h
View file @
62ffefd4
...
...
@@ -21,6 +21,13 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
*****************************************************************************/
#if defined(__PLUGIN__) || defined(__BUILTIN__) || !defined(__LIBVLC__)
# error This header file can only be included from LibVLC.
#endif
#ifndef __LIBVLC_AOUT_INTERNAL_H
# define __LIBVLC_AOUT_INTERNAL_H 1
#if defined( __APPLE__ ) || defined( SYS_BSD )
#undef HAVE_ALLOCA
#endif
...
...
@@ -131,3 +138,4 @@ aout_buffer_t * aout_DecNewBuffer( aout_instance_t *, aout_input_t *, size_t );
void
aout_DecDeleteBuffer
(
aout_instance_t
*
,
aout_input_t
*
,
aout_buffer_t
*
);
int
aout_DecPlay
(
aout_instance_t
*
,
aout_input_t
*
,
aout_buffer_t
*
,
int
i_input_rate
);
#endif
/* !__LIBVLC_AOUT_INTERNAL_H */
src/input/input_internal.h
View file @
62ffefd4
...
...
@@ -21,6 +21,10 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
*****************************************************************************/
#if defined(__PLUGIN__) || defined(__BUILTIN__) || !defined(__LIBVLC__)
# error This header file can only be included from LibVLC.
#endif
#ifndef _INPUT_INTERNAL_H
#define _INPUT_INTERNAL_H 1
...
...
@@ -357,9 +361,6 @@ static inline int demux2_Control( demux_t *p_demux, int i_query, ... )
return
i_result
;
}
#if defined(__PLUGIN__) || defined(__BUILTIN__)
# warning This is an internal header, something is wrong if you see this message.
#else
/* Stream */
/**
* stream_t definition
...
...
@@ -389,6 +390,5 @@ static inline stream_t *vlc_stream_create( vlc_object_t *obj )
return
(
stream_t
*
)
vlc_custom_create
(
obj
,
sizeof
(
stream_t
),
VLC_OBJECT_STREAM
,
"stream"
);
}
#endif
#endif
src/input/vlm_internal.h
View file @
62ffefd4
...
...
@@ -21,6 +21,10 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
*****************************************************************************/
#if defined(__PLUGIN__) || defined(__BUILTIN__) || !defined(__LIBVLC__)
# error This header file can only be included from LibVLC.
#endif
#ifndef _VLM_INTERNAL_H
#define _VLM_INTERNAL_H 1
...
...
src/interface/interface.h
View file @
62ffefd4
...
...
@@ -23,9 +23,17 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
*****************************************************************************/
#if defined(__PLUGIN__) || defined(__BUILTIN__) || !defined(__LIBVLC__)
# error This header file can only be included from LibVLC.
#endif
#ifndef __LIBVLC_INTERFACE_H
# define __LIBVLC_INTERFACE_H 1
/**********************************************************************
* Interaction
**********************************************************************/
void
intf_InteractionManage
(
playlist_t
*
);
void
intf_InteractionDestroy
(
interaction_t
*
);
#endif
src/misc/variables.h
View file @
62ffefd4
...
...
@@ -21,6 +21,12 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
*****************************************************************************/
#if defined(__PLUGIN__) || defined(__BUILTIN__) || !defined(__LIBVLC__)
# error This header file can only be included from LibVLC.
#endif
#ifndef __LIBVLC_VARIABLES_H
# define __LIBVLC_VARIABLES_H 1
typedef
struct
callback_entry_t
callback_entry_t
;
...
...
@@ -69,4 +75,4 @@ struct variable_t
/** Array of registered callbacks */
callback_entry_t
*
p_entries
;
};
#endif
src/modules/configuration.h
View file @
62ffefd4
...
...
@@ -18,6 +18,10 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
*****************************************************************************/
#if defined(__PLUGIN__) || defined(__BUILTIN__) || !defined(__LIBVLC__)
# error This header file can only be included from LibVLC.
#endif
#ifndef LIBVLC_CONFIGURATION_H
# define LIBVLC_CONFIGURATION_H 1
...
...
src/modules/modules.h
View file @
62ffefd4
...
...
@@ -21,6 +21,14 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
*****************************************************************************/
#if defined(__PLUGIN__) || defined(__BUILTIN__) || !defined(__LIBVLC__)
# error This header file can only be included from LibVLC.
#endif
#ifndef __LIBVLC_MODULES_H
# define __LIBVLC_MODULES_H 1
/* Number of tries before we unload an unused module */
#define MODULE_HIDE_DELAY 50
...
...
@@ -152,3 +160,5 @@ void __module_LoadPlugins ( vlc_object_t * );
void
__module_EndBank
(
vlc_object_t
*
);
#define module_ResetBank(a) __module_ResetBank(VLC_OBJECT(a))
void
__module_ResetBank
(
vlc_object_t
*
);
#endif
/* !__LIBVLC_MODULES_H */
src/playlist/playlist_internal.h
View file @
62ffefd4
...
...
@@ -22,6 +22,9 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
*****************************************************************************/
#ifndef __LIBVLC_PLAYLIST_INTERNAL_H
# define __LIBVLC_PLAYLIST_INTERNAL_H 1
/**
* \file
* This file contain internal structures and function prototypes related
...
...
@@ -130,3 +133,4 @@ int playlist_ItemDelete ( playlist_item_t * );
#endif
#define PLI_NAME( p ) p && p->p_input ? p->p_input->psz_name : "null"
#endif
/* !__LIBVLC_PLAYLIST_INTERNAL_H */
src/stream_output/stream_output.h
View file @
62ffefd4
...
...
@@ -24,6 +24,10 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
***************************************************************************/
#if defined(__PLUGIN__) || defined(__BUILTIN__) || !defined(__LIBVLC__)
# error This header file can only be included from LibVLC.
#endif
#ifndef VLC_SRC_STREAMOUT_H
# define VLC_SRC_STREAMOUT_H 1
...
...
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