mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
Use strict C function prototypes
This fixes warnings when compiling with `-Wstrict-prototypes`. Functions with empty parameter lists behave differently in C and C++: - void func() in C is same as void func(...) in C++. - void func() in C++ is same as void func(void) in C.
This commit is contained in:
committed by
Marshall Greenblatt
parent
ce891b57e1
commit
8410b1383f
@ -52,7 +52,7 @@ def make_libcef_dll_dylib_impl_parts(name, retval, args):
|
||||
|
||||
def make_libcef_dll_dylib_impl_func(func):
|
||||
name = func.get_capi_name()
|
||||
parts = func.get_capi_parts([])
|
||||
parts = func.get_capi_parts([], True)
|
||||
retval = parts['retval']
|
||||
args = parts['args']
|
||||
return make_libcef_dll_dylib_impl_parts(name, retval, args)
|
||||
|
Reference in New Issue
Block a user