From 5c110eef8efd32fef8a6a6cdac45ebccb3bc97ef Mon Sep 17 00:00:00 2001 From: Don Cross Date: Fri, 31 May 2019 19:44:33 -0400 Subject: [PATCH] hydrogen: Do not use code block for function prototypes: too ugly! --- hydrogen/hydrogen.js | 2 +- source/c/README.md | 70 ++++++++++++++++++++++---------------------- 2 files changed, 36 insertions(+), 36 deletions(-) diff --git a/hydrogen/hydrogen.js b/hydrogen/hydrogen.js index e9d15013..67051e80 100644 --- a/hydrogen/hydrogen.js +++ b/hydrogen/hydrogen.js @@ -227,7 +227,7 @@ class FuncInfo extends Item { Markdown() { let md = this.MarkdownPrefix(); - md += '\n`' + this.decl + '`\n\n'; + md += '\n' + this.decl + '\n\n'; return md; } } diff --git a/source/c/README.md b/source/c/README.md index 90ea8ea8..b06a43d9 100644 --- a/source/c/README.md +++ b/source/c/README.md @@ -78,7 +78,7 @@ To get started quickly, here are some [examples](../../demo/c/). -`astro_time_t Astronomy_AddDays(astro_time_t time, double days);` +astro_time_t Astronomy_AddDays(astro_time_t time, double days); @@ -86,7 +86,7 @@ To get started quickly, here are some [examples](../../demo/c/). -`astro_angle_result_t Astronomy_AngleFromSun(astro_body_t body, astro_time_t time);` +astro_angle_result_t Astronomy_AngleFromSun(astro_body_t body, astro_time_t time); @@ -94,7 +94,7 @@ To get started quickly, here are some [examples](../../demo/c/). -`astro_body_t Astronomy_BodyCode(const char *name);` +astro_body_t Astronomy_BodyCode(const char *name); @@ -102,7 +102,7 @@ To get started quickly, here are some [examples](../../demo/c/). -`const char* Astronomy_BodyName(astro_body_t body);` +const char* Astronomy_BodyName(astro_body_t body); @@ -110,7 +110,7 @@ To get started quickly, here are some [examples](../../demo/c/). -`astro_time_t Astronomy_CurrentTime(void);` +astro_time_t Astronomy_CurrentTime(void); @@ -118,7 +118,7 @@ To get started quickly, here are some [examples](../../demo/c/). -`astro_ecliptic_t Astronomy_Ecliptic(astro_vector_t equ);` +astro_ecliptic_t Astronomy_Ecliptic(astro_vector_t equ); @@ -126,7 +126,7 @@ To get started quickly, here are some [examples](../../demo/c/). -`astro_angle_result_t Astronomy_EclipticLongitude(astro_body_t body, astro_time_t time);` +astro_angle_result_t Astronomy_EclipticLongitude(astro_body_t body, astro_time_t time); @@ -134,7 +134,7 @@ To get started quickly, here are some [examples](../../demo/c/). -`astro_elongation_t Astronomy_Elongation(astro_body_t body, astro_time_t time);` +astro_elongation_t Astronomy_Elongation(astro_body_t body, astro_time_t time); @@ -142,7 +142,7 @@ To get started quickly, here are some [examples](../../demo/c/). -`astro_equatorial_t Astronomy_Equator(astro_body_t body, astro_time_t time, astro_observer_t observer, int ofdate, int aberration);` +astro_equatorial_t Astronomy_Equator(astro_body_t body, astro_time_t time, astro_observer_t observer, int ofdate, int aberration); @@ -150,7 +150,7 @@ To get started quickly, here are some [examples](../../demo/c/). -`astro_vector_t Astronomy_GeoMoon(astro_time_t time);` +astro_vector_t Astronomy_GeoMoon(astro_time_t time); @@ -158,7 +158,7 @@ To get started quickly, here are some [examples](../../demo/c/). -`astro_vector_t Astronomy_GeoVector(astro_body_t body, astro_time_t time, int correct_aberration);` +astro_vector_t Astronomy_GeoVector(astro_body_t body, astro_time_t time, int correct_aberration); @@ -166,7 +166,7 @@ To get started quickly, here are some [examples](../../demo/c/). -`astro_vector_t Astronomy_HelioVector(astro_body_t body, astro_time_t time);` +astro_vector_t Astronomy_HelioVector(astro_body_t body, astro_time_t time); @@ -174,7 +174,7 @@ To get started quickly, here are some [examples](../../demo/c/). -`astro_horizon_t Astronomy_Horizon(astro_time_t time, astro_observer_t observer, double ra, double dec, astro_refraction_t refraction);` +astro_horizon_t Astronomy_Horizon(astro_time_t time, astro_observer_t observer, double ra, double dec, astro_refraction_t refraction); @@ -182,7 +182,7 @@ To get started quickly, here are some [examples](../../demo/c/). -`astro_illum_t Astronomy_Illumination(astro_body_t body, astro_time_t time);` +astro_illum_t Astronomy_Illumination(astro_body_t body, astro_time_t time); @@ -190,7 +190,7 @@ To get started quickly, here are some [examples](../../demo/c/). -`astro_angle_result_t Astronomy_LongitudeFromSun(astro_body_t body, astro_time_t time);` +astro_angle_result_t Astronomy_LongitudeFromSun(astro_body_t body, astro_time_t time); @@ -198,7 +198,7 @@ To get started quickly, here are some [examples](../../demo/c/). -`astro_observer_t Astronomy_MakeObserver(double latitude, double longitude, double height);` +astro_observer_t Astronomy_MakeObserver(double latitude, double longitude, double height); @@ -206,7 +206,7 @@ To get started quickly, here are some [examples](../../demo/c/). -`astro_time_t Astronomy_MakeTime(int year, int month, int day, int hour, int minute, double second);` +astro_time_t Astronomy_MakeTime(int year, int month, int day, int hour, int minute, double second); @@ -214,7 +214,7 @@ To get started quickly, here are some [examples](../../demo/c/). -`astro_angle_result_t Astronomy_MoonPhase(astro_time_t time);` +astro_angle_result_t Astronomy_MoonPhase(astro_time_t time); @@ -222,7 +222,7 @@ To get started quickly, here are some [examples](../../demo/c/). -`astro_apsis_t Astronomy_NextLunarApsis(astro_apsis_t apsis);` +astro_apsis_t Astronomy_NextLunarApsis(astro_apsis_t apsis); @@ -230,7 +230,7 @@ To get started quickly, here are some [examples](../../demo/c/). -`astro_moon_quarter_t Astronomy_NextMoonQuarter(astro_moon_quarter_t mq);` +astro_moon_quarter_t Astronomy_NextMoonQuarter(astro_moon_quarter_t mq); @@ -238,7 +238,7 @@ To get started quickly, here are some [examples](../../demo/c/). -`astro_search_result_t Astronomy_Search(astro_search_func_t func, void *context, astro_time_t t1, astro_time_t t2, double dt_tolerance_seconds);` +astro_search_result_t Astronomy_Search(astro_search_func_t func, void *context, astro_time_t t1, astro_time_t t2, double dt_tolerance_seconds); @@ -246,7 +246,7 @@ To get started quickly, here are some [examples](../../demo/c/). -`astro_hour_angle_t Astronomy_SearchHourAngle(astro_body_t body, astro_observer_t observer, double hourAngle, astro_time_t dateStart);` +astro_hour_angle_t Astronomy_SearchHourAngle(astro_body_t body, astro_observer_t observer, double hourAngle, astro_time_t dateStart); @@ -254,7 +254,7 @@ To get started quickly, here are some [examples](../../demo/c/). -`astro_apsis_t Astronomy_SearchLunarApsis(astro_time_t startTime);` +astro_apsis_t Astronomy_SearchLunarApsis(astro_time_t startTime); @@ -262,7 +262,7 @@ To get started quickly, here are some [examples](../../demo/c/). -`astro_elongation_t Astronomy_SearchMaxElongation(astro_body_t body, astro_time_t startDate);` +astro_elongation_t Astronomy_SearchMaxElongation(astro_body_t body, astro_time_t startDate); @@ -270,7 +270,7 @@ To get started quickly, here are some [examples](../../demo/c/). -`astro_search_result_t Astronomy_SearchMoonPhase(double targetLon, astro_time_t dateStart, double limitDays);` +astro_search_result_t Astronomy_SearchMoonPhase(double targetLon, astro_time_t dateStart, double limitDays); @@ -278,7 +278,7 @@ To get started quickly, here are some [examples](../../demo/c/). -`astro_moon_quarter_t Astronomy_SearchMoonQuarter(astro_time_t dateStart);` +astro_moon_quarter_t Astronomy_SearchMoonQuarter(astro_time_t dateStart); @@ -286,7 +286,7 @@ To get started quickly, here are some [examples](../../demo/c/). -`astro_illum_t Astronomy_SearchPeakMagnitude(astro_body_t body, astro_time_t startDate);` +astro_illum_t Astronomy_SearchPeakMagnitude(astro_body_t body, astro_time_t startDate); @@ -294,7 +294,7 @@ To get started quickly, here are some [examples](../../demo/c/). -`astro_search_result_t Astronomy_SearchRelativeLongitude(astro_body_t body, double targetRelLon, astro_time_t startDate);` +astro_search_result_t Astronomy_SearchRelativeLongitude(astro_body_t body, double targetRelLon, astro_time_t startDate); @@ -302,7 +302,7 @@ To get started quickly, here are some [examples](../../demo/c/). -`astro_search_result_t Astronomy_SearchRiseSet(astro_body_t body, astro_observer_t observer, int direction, astro_time_t dateStart, double limitDays);` +astro_search_result_t Astronomy_SearchRiseSet(astro_body_t body, astro_observer_t observer, int direction, astro_time_t dateStart, double limitDays); @@ -310,7 +310,7 @@ To get started quickly, here are some [examples](../../demo/c/). -`astro_search_result_t Astronomy_SearchSunLongitude(double targetLon, astro_time_t dateStart, double limitDays);` +astro_search_result_t Astronomy_SearchSunLongitude(double targetLon, astro_time_t dateStart, double limitDays); @@ -318,7 +318,7 @@ To get started quickly, here are some [examples](../../demo/c/). -`astro_seasons_t Astronomy_Seasons(int calendar_year);` +astro_seasons_t Astronomy_Seasons(int calendar_year); @@ -326,7 +326,7 @@ To get started quickly, here are some [examples](../../demo/c/). -`astro_ecliptic_t Astronomy_SunPosition(astro_time_t time);` +astro_ecliptic_t Astronomy_SunPosition(astro_time_t time); @@ -334,7 +334,7 @@ To get started quickly, here are some [examples](../../demo/c/). -`astro_time_t Astronomy_TimeFromUtc(astro_utc_t utc);` +astro_time_t Astronomy_TimeFromUtc(astro_utc_t utc); @@ -342,7 +342,7 @@ To get started quickly, here are some [examples](../../demo/c/). -`astro_utc_t Astronomy_UtcFromTime(astro_time_t time);` +astro_utc_t Astronomy_UtcFromTime(astro_time_t time); @@ -350,7 +350,7 @@ To get started quickly, here are some [examples](../../demo/c/). -`double Astronomy_VectorLength(astro_vector_t vector);` +double Astronomy_VectorLength(astro_vector_t vector); ## Enumerated Types