Documentation Source Text

Check-in [029730d32b]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:For object doc pages, show more clearly that the page is not a whole interface description.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 029730d32b562d97ecd43a9fdb37cf4a69c20058967eca819b5ab0ae514298a0
User & Date: larrybr 2023-01-16 20:16:05
Context
2023-01-17
23:02
Parenthetically mention toleration of conflict resolution clause and absent effect in table CHECK constraints. (check-in: f846012243 user: larrybr tags: trunk)
2023-01-16
20:16
For object doc pages, show more clearly that the page is not a whole interface description. (check-in: 029730d32b user: larrybr tags: trunk)
2023-01-12
11:08
Describe sqlar_compress(X) more accurately. (check-in: 83fd668e46 user: larrybr tags: trunk)
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to pages/capi3ref.in.

543
544
545
546
547
548
549

550
551
552
553
554
555
556
557
558
559
560
561
#
proc show_methods_of_object {key label} {
  global fmeth
  if {![info exists fmeth($key)]} return
  set lx [lsort $fmeth($key)]
  set n [llength $lx]
  if {$n==0} return

  if {$n==1} {
    hd_resolve "<p>1 $label: \[[lindex $lx 0]()\]</p>\n"
    return
  }
  hd_puts "<p>$n ${label}s:\n"
  if {$n<=4} {
    set sep { }
    foreach x $lx {
      hd_puts $sep
      set sep ",\n"
      hd_resolve \[${x}()\]
    }







>

|


|







543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
#
proc show_methods_of_object {key label} {
  global fmeth
  if {![info exists fmeth($key)]} return
  set lx [lsort $fmeth($key)]
  set n [llength $lx]
  if {$n==0} return
  set dowhat " using this object:"
  if {$n==1} {
    hd_resolve "<p>1 $label$dowhat \[[lindex $lx 0]()\]</p>\n"
    return
  }
  hd_puts "<p>$n ${label}s$dowhat\n"
  if {$n<=4} {
    set sep { }
    foreach x $lx {
      hd_puts $sep
      set sep ",\n"
      hd_resolve \[${x}()\]
    }