Changed multi-line C comments into another style.

The left side doesn't look unbalanced.
This commit is contained in:
Greg King
2014-06-30 05:10:35 -04:00
parent 132d57f1ad
commit 0390c34e88
502 changed files with 8869 additions and 8884 deletions

View File

@@ -1,12 +1,12 @@
/*
* Minimalistic GEOSLib bitmap demo program
*
* 2012-06-10, Oliver Schmidt (ol.sc@web.de)
*
* To create bitmap.c use the sp65 sprite and bitmap utility:
* sp65 -r logo.pcx -c geos-bitmap -w bitmap.c,ident=bitmap
*
*/
** Minimalistic GEOSLib bitmap demo program
**
** 2012-06-10, Oliver Schmidt (ol.sc@web.de)
**
** To create bitmap.c use the sp65 sprite and bitmap utility:
** sp65 -r logo.pcx -c geos-bitmap -w bitmap.c,ident=bitmap
**
*/
#include <conio.h>

View File

@@ -1,7 +1,7 @@
/* Note:
* This is just a sample piece of code that shows how to use some structs -
* it may not even run.
*/
** This is just a sample piece of code that shows how to use some structs -
** it may not even run.
*/
#include <geos.h>

View File

@@ -1,7 +1,7 @@
/* Note:
* This is just a sample piece of code that shows how to use some structs -
* it may not even run.
*/
** This is just a sample piece of code that shows how to use some structs -
** it may not even run.
*/
#include <geos.h>

View File

@@ -1,7 +1,7 @@
/* Note:
* This is just a sample piece of code that shows how to use some structs -
* it may not even run.
*/
** This is just a sample piece of code that shows how to use some structs -
** it may not even run.
*/
#include <geos.h>

View File

@@ -1,7 +1,7 @@
/* Note:
* This is just a sample piece of code that shows how to use some structs -
* it may not even run.
*/
** This is just a sample piece of code that shows how to use some structs -
** it may not even run.
*/
#include <geos.h>

View File

@@ -1,9 +1,9 @@
/*
* Minimalistic GEOSLib overlay demo program
*
* 2012-01-01, Oliver Schmidt (ol.sc@web.de)
*
*/
** Minimalistic GEOSLib overlay demo program
**
** 2012-01-01, Oliver Schmidt (ol.sc@web.de)
**
*/
#include <stdio.h>
@@ -12,9 +12,9 @@
/* Functions resident in an overlay can call back functions resident in the
* main program at any time without any precautions. The function show() is
* an example for such a function resident in the main program.
*/
** main program at any time without any precautions. The function show() is
** an example for such a function resident in the main program.
*/
void show(char *name)
{
char line1[40];
@@ -24,18 +24,18 @@ void show(char *name)
}
/* In a real-world overlay program one would probably not use a #pragma but
* rather place the all the code of certain source files into the overlay by
* compiling them with --code-name OVERLAY1.
*/
** rather place the all the code of certain source files into the overlay by
** compiling them with --code-name OVERLAY1.
*/
#pragma code-name(push, "OVERLAY1");
void foo(void)
{
/* Functions resident in an overlay can access all program variables and
* constants at any time without any precautions because those are never
* placed in overlays. The string constant "One" is an example for such
* a constant resident in the main program.
*/
** constants at any time without any precautions because those are never
** placed in overlays. The string constant "One" is an example for such
** a constant resident in the main program.
*/
show("One");
}
@@ -78,18 +78,18 @@ void main(int /*argc*/, char *argv[])
}
/* The macro definitions OVERLAY_ADDR and OVERLAY_SIZE were generated in
* overlay-demores.h by grc65. They contain the overlay area address and
* size specific to a certain program.
*/
** overlay-demores.h by grc65. They contain the overlay area address and
** size specific to a certain program.
*/
if (ReadRecord(OVERLAY_ADDR, OVERLAY_SIZE)) {
_poserror("ReadRecord.1");
return;
}
/* The linker makes sure that the call to foo() ends up at the right mem
* addr. However it's up to user to make sure that the - right - overlay
* is actually loaded before making the the call.
*/
** addr. However, it's up to user to make sure that the -- right -- overlay
** actually is loaded before making the call.
*/
foo();
DlgBoxOk(CBOLDON "Overlay Demo - Main" CPLAINTEXT,
@@ -101,8 +101,8 @@ void main(int /*argc*/, char *argv[])
}
/* Replacing one overlay with another one can only happen from the main
* program. This implies that an overlay can never load another overlay.
*/
** program. This implies that an overlay can never load another overlay.
*/
if (ReadRecord(OVERLAY_ADDR, OVERLAY_SIZE)) {
_poserror("ReadRecord.2");
return;