summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authorIlia Alshanetsky <iliaa@php.net>2004-04-29 12:59:26 +0000
committerIlia Alshanetsky <iliaa@php.net>2004-04-29 12:59:26 +0000
commite81addb5ca39d1801e9a181df7a9311154bb3bcb (patch)
tree531e71f85eaf2ab62fcd796018453539c1f12048 /ext
parent4b4fae6aa42a2c182648b9c6a452f4be036fed53 (diff)
downloadphp-git-e81addb5ca39d1801e9a181df7a9311154bb3bcb.tar.gz
C++ comments.
Diffstat (limited to 'ext')
-rw-r--r--ext/dom/documentfragment.c2
-rw-r--r--ext/msession/reqclient.h8
-rw-r--r--ext/oci8/php_oci8.h4
-rw-r--r--ext/w32api/w32api.c6
4 files changed, 10 insertions, 10 deletions
diff --git a/ext/dom/documentfragment.c b/ext/dom/documentfragment.c
index e31adfc48c..3b565c4efd 100644
--- a/ext/dom/documentfragment.c
+++ b/ext/dom/documentfragment.c
@@ -63,7 +63,7 @@ PHP_METHOD(domdocumentfragment, __construct)
if (oldnode != NULL) {
php_libxml_node_free_resource(oldnode TSRMLS_CC);
}
- //php_dom_set_object(intern, nodep TSRMLS_CC);
+ /* php_dom_set_object(intern, nodep TSRMLS_CC); */
php_libxml_increment_node_ptr((php_libxml_node_object *)intern, nodep, (void *)intern TSRMLS_CC);
}
}
diff --git a/ext/msession/reqclient.h b/ext/msession/reqclient.h
index c0c6f51226..22414fea38 100644
--- a/ext/msession/reqclient.h
+++ b/ext/msession/reqclient.h
@@ -107,11 +107,11 @@ typedef struct _requestPacket
typedef struct _requestBuf
{
- unsigned int type; // Type of packet, dynamic/static
- unsigned int size; // size of memory block
+ unsigned int type; /* Type of packet, dynamic/static */
+ unsigned int size; /* size of memory block */
#if (REQCLIENT_VER >= 030113)
- unsigned int fmt; // format, binary/ascii
- unsigned int reserved; // Just in case
+ unsigned int fmt; /* format, binary/ascii */
+ unsigned int reserved; /* Just in case */
#else
#warning You are using an old Phoenix definition, this will have problems with a newer version
#endif
diff --git a/ext/oci8/php_oci8.h b/ext/oci8/php_oci8.h
index 3fe1cdfefc..30ea19c718 100644
--- a/ext/oci8/php_oci8.h
+++ b/ext/oci8/php_oci8.h
@@ -100,8 +100,8 @@ typedef struct {
dvoid *ocidescr;
ub4 type;
int lob_current_position;
- int lob_size; // -1 = Lob wasn't initialized yet
- int buffering; // 0 - off, 1 - on, 2 - on and buffer was used
+ int lob_size; /* -1 = Lob wasn't initialized yet */
+ int buffering; /* 0 - off, 1 - on, 2 - on and buffer was used */
} oci_descriptor;
typedef struct {
diff --git a/ext/w32api/w32api.c b/ext/w32api/w32api.c
index c3ddb30f9d..4dc52a86f5 100644
--- a/ext/w32api/w32api.c
+++ b/ext/w32api/w32api.c
@@ -819,7 +819,7 @@ static int php_w32api_load_library (char *library_name, w32api_lib_handle **lh T
FORMAT_MESSAGE_IGNORE_INSERTS,
NULL,
GetLastError(),
- MAKELANGID(LANG_NEUTRAL, SUBLANG_DEFAULT), // Default language
+ MAKELANGID(LANG_NEUTRAL, SUBLANG_DEFAULT), /* Default language */
(LPTSTR)&message_buffer,
0,
NULL);
@@ -1162,8 +1162,8 @@ w32api_result php_w32api_do_dynamic_dll_call(w32api_func_handle *fh, int argc, w
int size = 0, i = 0;
FARPROC fp = fh->handle;
- _asm mov stack_pointer, esp // Store stack pointer (esp) in stack_pointer
- _asm sub esp, 0x100 // Give ourselves 256 bytes on the stack
+ _asm mov stack_pointer, esp /* Store stack pointer (esp) in stack_pointer */
+ _asm sub esp, 0x100 /* Give ourselves 256 bytes on the stack */
for(i = (argc - 1); i >= 0; i--)