projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7c136bb
)
netsim: don't use G_INLINE_FUNC
author
Tim-Philipp Müller
<tim@centricular.com>
Mon, 18 Mar 2019 15:12:37 +0000
(15:12 +0000)
committer
Tim-Philipp Müller
<tim@centricular.com>
Mon, 18 Mar 2019 15:12:37 +0000
(15:12 +0000)
It's deprecated. Just use 'inline'.
gst/netsim/gstnetsim.c
patch
|
blob
|
history
diff --git
a/gst/netsim/gstnetsim.c
b/gst/netsim/gstnetsim.c
index 90178c7044455bc1ed1d57468126f27469d18b5d..0c27a67f542a044cd8c4e66bd226728ffcd3072b 100644
(file)
--- a/
gst/netsim/gstnetsim.c
+++ b/
gst/netsim/gstnetsim.c
@@
-211,7
+211,7
@@
typedef struct
GstBuffer *buf;
} PushBufferCtx;
-
G_INLINE_FUNC
PushBufferCtx *
+
static inline
PushBufferCtx *
push_buffer_ctx_new (GstPad * pad, GstBuffer * buf)
{
PushBufferCtx *ctx = g_slice_new (PushBufferCtx);
@@
-220,7
+220,7
@@
push_buffer_ctx_new (GstPad * pad, GstBuffer * buf)
return ctx;
}
-
G_INLINE_FUNC
void
+
static inline
void
push_buffer_ctx_free (PushBufferCtx * ctx)
{
if (G_LIKELY (ctx != NULL)) {