Skip to content
This repository has been archived by the owner on Oct 12, 2022. It is now read-only.

Commit

Permalink
Merge pull request #3016 from schveiguy/fixmarkdown
Browse files Browse the repository at this point in the history
Turn on markdown for druntime doc build
merged-on-behalf-of: Petar Kirov <PetarKirov@users.noreply.github.com>
  • Loading branch information
dlang-bot authored Apr 3, 2020
2 parents 2eec30b + af781e2 commit eb6911e
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 20 deletions.
2 changes: 1 addition & 1 deletion posix.mak
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ LINKDL=$(if $(findstring $(OS),linux),-L-ldl,)

MAKEFILE = $(firstword $(MAKEFILE_LIST))

DDOCFLAGS=-conf= -c -w -o- -Isrc -Iimport -version=CoreDdoc
DDOCFLAGS=-conf= -c -w -o- -Isrc -Iimport -version=CoreDdoc -preview=markdown

# Set CFLAGS
CFLAGS=$(MODEL_FLAG) -fPIC -DHAVE_UNISTD_H
Expand Down
32 changes: 16 additions & 16 deletions src/core/sys/darwin/mach/getsect.d
Original file line number Diff line number Diff line change
Expand Up @@ -44,15 +44,15 @@ version (CoreDdoc)
* Returns the section data of the given section in the given segment in the
* mach executable it is linked into.
*
* ___
* ---
* void main()
* {
* import core.sys.darwin.mach.getsect;
* int size;
* assert(getsectdata("__TEXT", "__text", &size));
* assert(size > 0);
* }
* ___
* ---
*
* Params:
* segname = the name of the segment
Expand All @@ -74,15 +74,15 @@ version (CoreDdoc)
* Returns the section data of the given section in the given segment in the
* given framework.
*
* ___
* ---
* void main()
* {
* import core.sys.darwin.mach.getsect;
* int size;
* assert(getsectdatafromFramework("Foundation", "__TEXT", "__text", &size));
* assert(size > 0);
* }
* ___
* ---
*
* Params:
* FrameworkName = the name of the framework to get the section data from
Expand Down Expand Up @@ -115,13 +115,13 @@ version (CoreDdoc)
* Returns the section structure of the given section in the given segment
* in the mach executable it is linked into.
*
* ___
* ---
* void main()
* {
* import core.sys.darwin.mach.getsect;
* assert(getsectbyname("__TEXT", "__text"));
* }
* ___
* ---
*
* Params:
* segname = the name of the segment
Expand All @@ -140,7 +140,7 @@ version (CoreDdoc)
* Returns the section data of the given section in the given segment in the
* image pointed to by the given mach header.
*
* ___
* ---
* void main()
* {
* import core.sys.darwin.mach.getsect;
Expand All @@ -151,7 +151,7 @@ version (CoreDdoc)
* assert(getsectdata(mph, "__TEXT", "__text", &size));
* assert(size > 0);
* }
* ___
* ---
*
* Params:
* mhp = the mach header to get the section data from
Expand All @@ -175,13 +175,13 @@ version (CoreDdoc)
* Returns the segment structure of the given segment in the mach executable
* it is linked into.
*
* ___
* ---
* void main()
* {
* import core.sys.darwin.mach.getsect;
* assert(getsegbyname("__TEXT"));
* }
* ___
* ---
*
* Params:
* segname = the name of the segment
Expand All @@ -198,7 +198,7 @@ version (CoreDdoc)
* Returns the segment data of the given segment in the image pointed to by
* the given mach header.
*
* ___
* ---
* void main()
* {
* import core.sys.darwin.mach.getsect;
Expand All @@ -209,7 +209,7 @@ version (CoreDdoc)
* assert(getsegmentdata(mph, "__TEXT", &size));
* assert(size > 0);
* }
* ___
* ---
*
* Params:
* mhp = the mach header to get the section data from
Expand All @@ -236,7 +236,7 @@ version (CoreDdoc)
* Returns the section data of the given section in the given segment in the
* image pointed to by the given mach header.
*
* ___
* ---
* void main()
* {
* import core.sys.darwin.mach.getsect;
Expand All @@ -247,7 +247,7 @@ version (CoreDdoc)
* assert(getsectdatafromheader(mph, "__TEXT", "__text", &size));
* assert(size > 0);
* }
* ___
* ---
*
* Params:
* mhp = the mach header to get the section data from
Expand Down Expand Up @@ -280,7 +280,7 @@ version (CoreDdoc)
* Returns the section structure of the given section in the given segment
* in image pointed to by the given mach header.
*
* ___
* ---
* void main()
* {
* import core.sys.darwin.mach.getsect;
Expand All @@ -289,7 +289,7 @@ version (CoreDdoc)
* auto mph = _NSGetMachExecuteHeader();
* assert(getsectbynamefromheader(mph, "__TEXT", "__text"));
* }
* ___
* ---
*
* Params:
* mhp = the mach header to get the section from
Expand Down
6 changes: 3 additions & 3 deletions src/rt/dwarfeh.d
Original file line number Diff line number Diff line change
Expand Up @@ -746,9 +746,9 @@ LsdaResult scanLSDA(const(ubyte)* lsda, _Unwind_Ptr ip, _Unwind_Exception_Class
* exceptionClass = which language threw the exception
* lsda = pointer to LSDA table
* Returns:
* >=1 means the handler index of the classType
* 0 means classType is not in the Action Table
* <0 means corrupt
* - &gt;=1 means the handler index of the classType
* - 0 means classType is not in the Action Table
* - &lt;0 means corrupt
*/
int actionTableLookup(_Unwind_Exception* exceptionObject, uint actionRecordPtr, const(ubyte)* pActionTable,
const(ubyte)* tt, ubyte TType, _Unwind_Exception_Class exceptionClass, const(ubyte)* lsda)
Expand Down

0 comments on commit eb6911e

Please sign in to comment.