Skip to content

Commit 5b9a251

Browse files
author
viest
committed
code format adjustment
1 parent dd26c3e commit 5b9a251

File tree

6 files changed

+28
-16
lines changed

6 files changed

+28
-16
lines changed

kernel/excel.c

Lines changed: 17 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
+----------------------------------------------------------------------+
55
| Copyright (c) 2017-2017 The Viest |
66
+----------------------------------------------------------------------+
7-
| http://www.vtiful.com |
7+
| http://www.viest.me |
88
+----------------------------------------------------------------------+
99
| Author: viest <[email protected]> |
1010
+----------------------------------------------------------------------+
@@ -80,7 +80,7 @@ excel_resource_t * zval_get_resource(zval *handle)
8080
}
8181
/* }}} */
8282

83-
/* {{{ \Vtiful\Kernel\Excel::__construct(array $config)
83+
/** {{{ \Vtiful\Kernel\Excel::__construct(array $config)
8484
*/
8585
PHP_METHOD(vtiful_excel, __construct)
8686
{
@@ -104,7 +104,7 @@ PHP_METHOD(vtiful_excel, __construct)
104104
}
105105
/* }}} */
106106

107-
/* {{{ \Vtiful\Kernel\Excel::filename(string $fileName)
107+
/** {{{ \Vtiful\Kernel\Excel::filename(string $fileName)
108108
*/
109109
PHP_METHOD(vtiful_excel, fileName)
110110
{
@@ -145,7 +145,7 @@ PHP_METHOD(vtiful_excel, fileName)
145145
}
146146
/* }}} */
147147

148-
/* {{{ \Vtiful\Kernel\Excel::header(array $header)
148+
/** {{{ \Vtiful\Kernel\Excel::header(array $header)
149149
*/
150150
PHP_METHOD(vtiful_excel, header)
151151
{
@@ -172,7 +172,7 @@ PHP_METHOD(vtiful_excel, header)
172172
}
173173
/* }}} */
174174

175-
/* {{{ \Vtiful\Kernel\Excel::data(array $data)
175+
/** {{{ \Vtiful\Kernel\Excel::data(array $data)
176176
*/
177177
PHP_METHOD(vtiful_excel, data)
178178
{
@@ -203,7 +203,7 @@ PHP_METHOD(vtiful_excel, data)
203203
}
204204
/* }}} */
205205

206-
/* {{{ \Vtiful\Kernel\Excel::output()
206+
/** {{{ \Vtiful\Kernel\Excel::output()
207207
*/
208208
PHP_METHOD(vtiful_excel, output)
209209
{
@@ -222,7 +222,7 @@ PHP_METHOD(vtiful_excel, output)
222222
}
223223
/* }}} */
224224

225-
/* {{{ \Vtiful\Kernel\Excel::getHandle()
225+
/** {{{ \Vtiful\Kernel\Excel::getHandle()
226226
*/
227227
PHP_METHOD(vtiful_excel, getHandle)
228228
{
@@ -235,7 +235,7 @@ PHP_METHOD(vtiful_excel, getHandle)
235235
}
236236
/* }}} */
237237

238-
/* {{{ \Vtiful\Kernel\Excel::insertText(int $row, int $column, string|int|double $data)
238+
/** {{{ \Vtiful\Kernel\Excel::insertText(int $row, int $column, string|int|double $data)
239239
*/
240240
PHP_METHOD(vtiful_excel, insertText)
241241
{
@@ -262,7 +262,7 @@ PHP_METHOD(vtiful_excel, insertText)
262262
}
263263
/* }}} */
264264

265-
/* {{{ \Vtiful\Kernel\Excel::insertImage(int $row, int $column, string $imagePath)
265+
/** {{{ \Vtiful\Kernel\Excel::insertImage(int $row, int $column, string $imagePath)
266266
*/
267267
PHP_METHOD(vtiful_excel, insertImage)
268268
{
@@ -289,7 +289,7 @@ PHP_METHOD(vtiful_excel, insertImage)
289289
}
290290
/* }}} */
291291

292-
/* {{{ \Vtiful\Kernel\Excel::insertImage(int $row, int $column, string $imagePath)
292+
/** {{{ \Vtiful\Kernel\Excel::insertImage(int $row, int $column, string $imagePath)
293293
*/
294294
PHP_METHOD(vtiful_excel, insertFormula)
295295
{
@@ -316,7 +316,7 @@ PHP_METHOD(vtiful_excel, insertFormula)
316316
}
317317
/* }}} */
318318

319-
/* {{{ \Vtiful\Kernel\Excel::autoFilter(int $rowStart, int $rowEnd, int $columnStart, int $columnEnd)
319+
/** {{{ \Vtiful\Kernel\Excel::autoFilter(int $rowStart, int $rowEnd, int $columnStart, int $columnEnd)
320320
*/
321321
PHP_METHOD(vtiful_excel, autoFilter)
322322
{
@@ -341,6 +341,8 @@ PHP_METHOD(vtiful_excel, autoFilter)
341341
}
342342
/* }}} */
343343

344+
/** {{{ excel_methods
345+
*/
344346
zend_function_entry excel_methods[] = {
345347
PHP_ME(vtiful_excel, __construct, excel_construct_arginfo, ZEND_ACC_PUBLIC|ZEND_ACC_CTOR)
346348
PHP_ME(vtiful_excel, fileName, excel_file_name_arginfo, ZEND_ACC_PUBLIC)
@@ -354,7 +356,10 @@ zend_function_entry excel_methods[] = {
354356
PHP_ME(vtiful_excel, insertFormula, excel_insert_formula_arginfo, ZEND_ACC_PUBLIC)
355357
PHP_FE_END
356358
};
359+
/* }}} */
357360

361+
/** {{{ VTIFUL_STARTUP_FUNCTION
362+
*/
358363
VTIFUL_STARTUP_FUNCTION(excel) {
359364
zend_class_entry ce;
360365

@@ -368,6 +373,7 @@ VTIFUL_STARTUP_FUNCTION(excel) {
368373

369374
return SUCCESS;
370375
}
376+
/* }}} */
371377

372378

373379

kernel/excel.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
+----------------------------------------------------------------------+
55
| Copyright (c) 2017-2017 The Viest |
66
+----------------------------------------------------------------------+
7-
| http://www.vtiful.com |
7+
| http://www.viest.me |
88
+----------------------------------------------------------------------+
99
| Author: viest <[email protected]> |
1010
+----------------------------------------------------------------------+

kernel/exception.c

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
+----------------------------------------------------------------------+
55
| Copyright (c) 2017-2017 The Viest |
66
+----------------------------------------------------------------------+
7-
| http://www.vtiful.com |
7+
| http://www.viest.me |
88
+----------------------------------------------------------------------+
99
| Author: viest <[email protected]> |
1010
+----------------------------------------------------------------------+
@@ -17,10 +17,15 @@
1717

1818
zend_class_entry *vtiful_exception_ce;
1919

20+
/** {{{ exception_methods
21+
*/
2022
zend_function_entry exception_methods[] = {
2123
PHP_FE_END
2224
};
25+
/* }}} */
2326

27+
/** {{{ VTIFUL_STARTUP_FUNCTION
28+
*/
2429
VTIFUL_STARTUP_FUNCTION(vtiful_exception) {
2530
zend_class_entry ce;
2631

@@ -30,3 +35,4 @@ VTIFUL_STARTUP_FUNCTION(vtiful_exception) {
3035

3136
return SUCCESS;
3237
}
38+
/* }}} */

kernel/exception.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
+----------------------------------------------------------------------+
55
| Copyright (c) 2017-2017 The Viest |
66
+----------------------------------------------------------------------+
7-
| http://www.vtiful.com |
7+
| http://www.viest.me |
88
+----------------------------------------------------------------------+
99
| Author: viest <[email protected]> |
1010
+----------------------------------------------------------------------+

kernel/write.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
+----------------------------------------------------------------------+
55
| Copyright (c) 2017-2017 The Viest |
66
+----------------------------------------------------------------------+
7-
| http://www.vtiful.com |
7+
| http://www.viest.me |
88
+----------------------------------------------------------------------+
99
| Author: viest <[email protected]> |
1010
+----------------------------------------------------------------------+

kernel/write.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
+----------------------------------------------------------------------+
55
| Copyright (c) 2017-2017 The Viest |
66
+----------------------------------------------------------------------+
7-
| http://www.vtiful.com |
7+
| http://www.viest.me |
88
+----------------------------------------------------------------------+
99
| Author: viest <[email protected]> |
1010
+----------------------------------------------------------------------+

0 commit comments

Comments
 (0)