Skip to content

Commit e81addb

Browse files
author
Ilia Alshanetsky
committed
C++ comments.
1 parent 4b4fae6 commit e81addb

File tree

5 files changed

+11
-11
lines changed

5 files changed

+11
-11
lines changed

ext/dom/documentfragment.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ PHP_METHOD(domdocumentfragment, __construct)
6363
if (oldnode != NULL) {
6464
php_libxml_node_free_resource(oldnode TSRMLS_CC);
6565
}
66-
//php_dom_set_object(intern, nodep TSRMLS_CC);
66+
/* php_dom_set_object(intern, nodep TSRMLS_CC); */
6767
php_libxml_increment_node_ptr((php_libxml_node_object *)intern, nodep, (void *)intern TSRMLS_CC);
6868
}
6969
}

ext/msession/reqclient.h

+4-4
Original file line numberDiff line numberDiff line change
@@ -107,11 +107,11 @@ typedef struct _requestPacket
107107

108108
typedef struct _requestBuf
109109
{
110-
unsigned int type; // Type of packet, dynamic/static
111-
unsigned int size; // size of memory block
110+
unsigned int type; /* Type of packet, dynamic/static */
111+
unsigned int size; /* size of memory block */
112112
#if (REQCLIENT_VER >= 030113)
113-
unsigned int fmt; // format, binary/ascii
114-
unsigned int reserved; // Just in case
113+
unsigned int fmt; /* format, binary/ascii */
114+
unsigned int reserved; /* Just in case */
115115
#else
116116
#warning You are using an old Phoenix definition, this will have problems with a newer version
117117
#endif

ext/oci8/php_oci8.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -100,8 +100,8 @@ typedef struct {
100100
dvoid *ocidescr;
101101
ub4 type;
102102
int lob_current_position;
103-
int lob_size; // -1 = Lob wasn't initialized yet
104-
int buffering; // 0 - off, 1 - on, 2 - on and buffer was used
103+
int lob_size; /* -1 = Lob wasn't initialized yet */
104+
int buffering; /* 0 - off, 1 - on, 2 - on and buffer was used */
105105
} oci_descriptor;
106106

107107
typedef struct {

ext/w32api/w32api.c

+3-3
Original file line numberDiff line numberDiff line change
@@ -819,7 +819,7 @@ static int php_w32api_load_library (char *library_name, w32api_lib_handle **lh T
819819
FORMAT_MESSAGE_IGNORE_INSERTS,
820820
NULL,
821821
GetLastError(),
822-
MAKELANGID(LANG_NEUTRAL, SUBLANG_DEFAULT), // Default language
822+
MAKELANGID(LANG_NEUTRAL, SUBLANG_DEFAULT), /* Default language */
823823
(LPTSTR)&message_buffer,
824824
0,
825825
NULL);
@@ -1162,8 +1162,8 @@ w32api_result php_w32api_do_dynamic_dll_call(w32api_func_handle *fh, int argc, w
11621162
int size = 0, i = 0;
11631163
FARPROC fp = fh->handle;
11641164

1165-
_asm mov stack_pointer, esp // Store stack pointer (esp) in stack_pointer
1166-
_asm sub esp, 0x100 // Give ourselves 256 bytes on the stack
1165+
_asm mov stack_pointer, esp /* Store stack pointer (esp) in stack_pointer */
1166+
_asm sub esp, 0x100 /* Give ourselves 256 bytes on the stack */
11671167

11681168

11691169
for(i = (argc - 1); i >= 0; i--)

sapi/milter/php_milter.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -1076,7 +1076,7 @@ int main(int argc, char *argv[])
10761076
ap_php_optind++;
10771077
}
10781078

1079-
// check if file exists, exit else
1079+
/* check if file exists, exit else */
10801080

10811081
if (dofork) {
10821082
switch(fork()) {

0 commit comments

Comments
 (0)