remove (void)

This commit is contained in:
Edouard DUPIN 2017-11-23 15:14:13 +01:00 committed by GitHub
parent cfc2428268
commit c34d11703d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -86,7 +86,7 @@ To be simple : (tab stop at the 'if' start)
- function: - function:
```{.cpp} ```{.cpp}
void myFunction(void) { void myFunction() {
actions ...; actions ...;
} }
``` ```
@ -95,8 +95,8 @@ To be simple : (tab stop at the 'if' start)
```{.cpp} ```{.cpp}
class MyClass { class MyClass {
public: public:
MyClass(void); MyClass();
~MyClass(void); ~MyClass();
private: private:
const char* getName(void); const char* getName(void);
}; };
@ -173,7 +173,7 @@ Naming {#ewol_coding_style_naming}
- Fonction/Methods: - Fonction/Methods:
Camel case with first letter in lower case. Camel case with first letter in lower case.
```{.cpp} ```{.cpp}
void myExampleFontionName(void); void myExampleFontionName();
``` ```
- Variable: - Variable:
@ -226,7 +226,7 @@ for (int32_t iii=0; iii<xxx; ++iii) {
Types {#ewol_coding_style_types} Types {#ewol_coding_style_types}
===== =====
Une stanndard Type : The standard Type :
```{.cpp} ```{.cpp}
bool bool
int8_t / uint8_t int8_t / uint8_t