Skip to content

Commit f2f5da5

Browse files
authored
break extension conventions into two reference pages (KhronosGroup#1529)
1 parent ed7e658 commit f2f5da5

2 files changed

Lines changed: 7 additions & 5 deletions

File tree

api/appendix_extensions.asciidoc

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,11 @@ alphabetically by author ID.
2525
Within each group, extensions are listed in alphabetical order by their
2626
names.
2727

28-
[open,refpage='extensionConventions',desc='Conventions for Optional Extensions.',type='freeform',anchor='extensions']
29-
--
30-
3128
[[naming-convention-for-optional-extensions]]
3229
== Naming Convention for Optional Extensions
3330

31+
[open,refpage='extensionNamingConventions',desc='Naming Conventions for Optional Extensions.',type='freeform',anchor='extensions']
32+
--
3433
OpenCL extensions approved by the OpenCL working group use the following
3534
naming convention:
3635

@@ -74,11 +73,13 @@ convention:
7473
Vendor extensions are not currently included in the OpenCL specifications, but
7574
vendor extension specifications are frequently included in the online Registry
7675
of extensions.
77-
76+
--
7877

7978
[[header-conventions-for-optional-extensions]]
8079
== Header Conventions for Optional Extensions
8180

81+
[open,refpage='extensionHeaderConventions',desc='Header Conventions for Optional Extensions.',type='freeform',anchor='extensions']
82+
--
8283
Function pointer typedefs should be declared for all extensions that add API
8384
entrypoints.
8485
These typedefs are a required part of the extension interface, and should be

man/toctail

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -585,7 +585,8 @@
585585

586586
<li class="Level1">Optional Extensions
587587
<ul class="Level2">
588-
<li><a href="extensionConventions.html" target="pagedisplay">Extension Conventions</a>
588+
<li><a href="extensionNamingConventions.html" target="pagedisplay">Naming Conventions</a>
589+
<li><a href="extensionHeaderConventions.html" target="pagedisplay">Header Conventions</a>
589590
<li><a href="EXTENSION.html" target="pagedisplay">EXTENSION</a>
590591
<li><a href="cl_khr_3d_image_writes.html" target="pagedisplay">cl_khr_3d_image_writes</a></li>
591592
<li><a href="cl_khr_byte_addressable_store.html" target="pagedisplay">cl_khr_byte_addressable_store</a></li>

0 commit comments

Comments
 (0)