[vala-extra-vapis/wip/openal: 5/40] delete multiple spaces




commit eb79aa248ffb46c872aaa81ec74df7177e69d857
Author: Vuvk <panknd mail ru>
Date:   Sat May 23 23:29:04 2020 +0500

    delete multiple spaces

 alure.vapi  | 14 +++++++-------
 openal.vapi | 26 +++++++++++++-------------
 2 files changed, 20 insertions(+), 20 deletions(-)
---
diff --git a/alure.vapi b/alure.vapi
index 5d2c942..6a436b9 100644
--- a/alure.vapi
+++ b/alure.vapi
@@ -121,17 +121,17 @@ namespace Alure
     public bool resume_source(AL.ALuint source);
 
     [CCode (has_target = false)]
-    public delegate void*  OpenFileCallback(string name);
+    public delegate void* OpenFileCallback(string name);
     [CCode (has_target = false)]
-    public delegate void*  OpenMemCallback(AL.ALubyte[] buffer);
+    public delegate void* OpenMemCallback(AL.ALubyte[] buffer);
     [CCode (has_target = false)]
-    public delegate bool   GetFormatCallback(void* instance, out AL.ALenum format, out AL.ALuint samplerate, 
out AL.ALuint blocksize);
+    public delegate bool GetFormatCallback(void* instance, out AL.ALenum format, out AL.ALuint samplerate, 
out AL.ALuint blocksize);
     [CCode (has_target = false)]
     public delegate AL.ALuint DecodeCallback(void* instance, [CCode (array_length = false)]AL.ALubyte[] 
data, AL.ALuint bytes);
     [CCode (has_target = false)]
-    public delegate bool   RewindCallback(void* instance);
+    public delegate bool RewindCallback(void* instance);
     [CCode (has_target = false)]
-    public delegate void   CloseCallback(void* instance);
+    public delegate void CloseCallback(void* instance);
 
     [CCode (cname = "alureInstallDecodeCallbacks")]
     public bool install_decode_callbacks(
@@ -152,13 +152,13 @@ namespace Alure
     }
 
     [CCode (has_target = false)]
-    public delegate void*   OpenCallback(string filename, AL.ALuint mode = 0);
+    public delegate void* OpenCallback(string filename, AL.ALuint mode = 0);
     [CCode (has_target = false)]
     public delegate AL.ALsizei ReadCallback(void* handle, [CCode (array_length = false)] AL.ALubyte[] buf, 
AL.ALuint bytes);
     [CCode (has_target = false)]
     public delegate AL.ALsizei WriteCallback(void* handle, [CCode (array_length = false)] AL.ALubyte[] buf, 
AL.ALuint bytes);
     [CCode (has_target = false)]
-    public delegate int64   SeekCallback(void* handle, int64 offset, int whence);
+    public delegate int64 SeekCallback(void* handle, int64 offset, int whence);
 
     [CCode (cname = "alureSetIOCallbacks")]
     public bool set_io_callbacks(
diff --git a/openal.vapi b/openal.vapi
index 8acb494..055d834 100644
--- a/openal.vapi
+++ b/openal.vapi
@@ -26,55 +26,55 @@ namespace AL
 {
     // 8-bit boolean
     [CCode (cname="ALboolean")]
-    public struct ALboolean : int8 { }
+    public struct ALboolean : int8 {}
 
     // character
     [CCode (cname="ALchar")]
-    public struct ALchar : char { }
+    public struct ALchar : char {}
 
     // signed 8-bit 2's complement integer
     [CCode (cname="ALbyte")]
-    public struct ALbyte : int8 { }
+    public struct ALbyte : int8 {}
 
     // unsigned 8-bit integer
     [CCode (cname="ALubyte")]
-    public struct ALubyte : uint8 { }
+    public struct ALubyte : uint8 {}
 
     // signed 16-bit 2's complement integer
     [CCode (cname="ALshort")]
-    public struct ALshort : int16 { }
+    public struct ALshort : int16 {}
 
     // unsigned 16-bit integer
     [CCode (cname="ALushort")]
-    public struct ALushort : uint16 { }
+    public struct ALushort : uint16 {}
 
     // signed 32-bit 2's complement integer
     [CCode (cname="ALint")]
-    public struct ALint : int32 { }
+    public struct ALint : int32 {}
 
     // unsigned 32-bit integer
     [CCode (cname="ALuint")]
-    public struct ALuint : uint32 { }
+    public struct ALuint : uint32 {}
 
     // non-negative 32-bit binary integer size
     [CCode (cname="ALsizei")]
-    public struct ALsizei : int32 { }
+    public struct ALsizei : int32 {}
 
     // enumerated 32-bit value
     [CCode (cname="ALenum")]
-    public struct ALenum : int32 { }
+    public struct ALenum : int32 {}
 
     // 32-bit IEEE754 floating-point
     [CCode (cname="ALfloat")]
-    public struct ALfloat : float { }
+    public struct ALfloat : float {}
 
     // 64-bit IEEE754 floating-point
     [CCode (cname="ALdouble")]
-    public struct ALdouble : double { }
+    public struct ALdouble : double {}
 
     // void type (for opaque pointers only)
     [CCode (cname="ALvoid")]
-    public struct ALvoid { }
+    public struct ALvoid {}
 
     /** "no distance model" or "no buffer" */
     [CCode (cname="AL_NONE")]


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]