]> granicus.if.org Git - php/commitdiff
C++ comments.
authorIlia Alshanetsky <iliaa@php.net>
Thu, 29 Apr 2004 12:59:26 +0000 (12:59 +0000)
committerIlia Alshanetsky <iliaa@php.net>
Thu, 29 Apr 2004 12:59:26 +0000 (12:59 +0000)
ext/dom/documentfragment.c
ext/msession/reqclient.h
ext/oci8/php_oci8.h
ext/w32api/w32api.c
sapi/milter/php_milter.c

index e31adfc48c611a4b99011495219a10460087fc1c..3b565c4efd2f994745911ce3d3beb5a0006eab79 100644 (file)
@@ -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);
        }
 }
index c0c6f512265f54a7bb22ee09d1b3aa28aa9ffd7e..22414fea38a95623a75ae64d8c0616ad6074154a 100644 (file)
@@ -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
index 3fe1cdfefc2eab02e092d45a2b05a2fc4ebdefa2..30ea19c718c365c407199e4d41790c6e195b6017 100644 (file)
@@ -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 {
index c3ddb30f9d48ef13813e37f202bb2bf01db09739..4dc52a86f562659abb2cb77e035259200de5fb95 100644 (file)
@@ -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--)
index 062bd2c2c9bb6c56edee899e14dc3ae4f15fa016..b46347ce0d171b15bebaac82e75fa53731799653 100644 (file)
@@ -1076,7 +1076,7 @@ int main(int argc, char *argv[])
                        ap_php_optind++;
                }
 
-               // check if file exists, exit else
+               /* check if file exists, exit else */
                
                if (dofork) {
                        switch(fork()) {