mirror of
https://github.com/cosinekitty/astronomy.git
synced 2026-05-25 01:09:09 -04:00
hydrogen: Do not use code block for function prototypes: too ugly!
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -78,7 +78,7 @@ To get started quickly, here are some [examples](../../demo/c/).
|
||||
|
||||
<a name="Astronomy_AddDays"></a>
|
||||
|
||||
`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/).
|
||||
|
||||
<a name="Astronomy_AngleFromSun"></a>
|
||||
|
||||
`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/).
|
||||
|
||||
<a name="Astronomy_BodyCode"></a>
|
||||
|
||||
`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/).
|
||||
|
||||
<a name="Astronomy_BodyName"></a>
|
||||
|
||||
`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/).
|
||||
|
||||
<a name="Astronomy_CurrentTime"></a>
|
||||
|
||||
`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/).
|
||||
|
||||
<a name="Astronomy_Ecliptic"></a>
|
||||
|
||||
`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/).
|
||||
|
||||
<a name="Astronomy_EclipticLongitude"></a>
|
||||
|
||||
`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/).
|
||||
|
||||
<a name="Astronomy_Elongation"></a>
|
||||
|
||||
`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/).
|
||||
|
||||
<a name="Astronomy_Equator"></a>
|
||||
|
||||
`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/).
|
||||
|
||||
<a name="Astronomy_GeoMoon"></a>
|
||||
|
||||
`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/).
|
||||
|
||||
<a name="Astronomy_GeoVector"></a>
|
||||
|
||||
`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/).
|
||||
|
||||
<a name="Astronomy_HelioVector"></a>
|
||||
|
||||
`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/).
|
||||
|
||||
<a name="Astronomy_Horizon"></a>
|
||||
|
||||
`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/).
|
||||
|
||||
<a name="Astronomy_Illumination"></a>
|
||||
|
||||
`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/).
|
||||
|
||||
<a name="Astronomy_LongitudeFromSun"></a>
|
||||
|
||||
`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/).
|
||||
|
||||
<a name="Astronomy_MakeObserver"></a>
|
||||
|
||||
`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/).
|
||||
|
||||
<a name="Astronomy_MakeTime"></a>
|
||||
|
||||
`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/).
|
||||
|
||||
<a name="Astronomy_MoonPhase"></a>
|
||||
|
||||
`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/).
|
||||
|
||||
<a name="Astronomy_NextLunarApsis"></a>
|
||||
|
||||
`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/).
|
||||
|
||||
<a name="Astronomy_NextMoonQuarter"></a>
|
||||
|
||||
`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/).
|
||||
|
||||
<a name="Astronomy_Search"></a>
|
||||
|
||||
`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/).
|
||||
|
||||
<a name="Astronomy_SearchHourAngle"></a>
|
||||
|
||||
`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/).
|
||||
|
||||
<a name="Astronomy_SearchLunarApsis"></a>
|
||||
|
||||
`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/).
|
||||
|
||||
<a name="Astronomy_SearchMaxElongation"></a>
|
||||
|
||||
`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/).
|
||||
|
||||
<a name="Astronomy_SearchMoonPhase"></a>
|
||||
|
||||
`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/).
|
||||
|
||||
<a name="Astronomy_SearchMoonQuarter"></a>
|
||||
|
||||
`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/).
|
||||
|
||||
<a name="Astronomy_SearchPeakMagnitude"></a>
|
||||
|
||||
`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/).
|
||||
|
||||
<a name="Astronomy_SearchRelativeLongitude"></a>
|
||||
|
||||
`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/).
|
||||
|
||||
<a name="Astronomy_SearchRiseSet"></a>
|
||||
|
||||
`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/).
|
||||
|
||||
<a name="Astronomy_SearchSunLongitude"></a>
|
||||
|
||||
`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/).
|
||||
|
||||
<a name="Astronomy_Seasons"></a>
|
||||
|
||||
`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/).
|
||||
|
||||
<a name="Astronomy_SunPosition"></a>
|
||||
|
||||
`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/).
|
||||
|
||||
<a name="Astronomy_TimeFromUtc"></a>
|
||||
|
||||
`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/).
|
||||
|
||||
<a name="Astronomy_UtcFromTime"></a>
|
||||
|
||||
`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/).
|
||||
|
||||
<a name="Astronomy_VectorLength"></a>
|
||||
|
||||
`double Astronomy_VectorLength(astro_vector_t vector);`
|
||||
double Astronomy_VectorLength(astro_vector_t vector);
|
||||
|
||||
|
||||
## Enumerated Types
|
||||
|
||||
Reference in New Issue
Block a user