From 0d1dde544117c34924ea87fe60a8f7f85820d826 Mon Sep 17 00:00:00 2001 From: beef331 Date: Tue, 13 Feb 2024 09:11:49 +0000 Subject: [PATCH] deploy: e3a00d4230758fa27855543aab51d4f545ddc7af --- index.html | 14 +++++++------- theindex.html | 2 +- traitor.html | 14 +++++++------- traitor.idx | 6 +++--- traitor/streams.html | 6 +++--- traitor/streams.idx | 2 +- 6 files changed, 22 insertions(+), 22 deletions(-) diff --git a/index.html b/index.html index 10e6ec5..8ef09d1 100644 --- a/index.html +++ b/index.html @@ -312,8 +312,8 @@

Macros

- Source   -Edit   + Source   +Edit  
@@ -331,8 +331,8 @@

Templates

Emits a converter from T to Traitor[trait] This allows skipping of val.toTrait(trait) - Source   -Edit   + Source   +Edit  
@@ -347,8 +347,8 @@

Templates

Example:

type MyTrait = distinct tuple[bleh: proc(_: Atom, _: int) {.nimcall.}]
 implTrait MyTrait
- Source   -Edit   + Source   +Edit   @@ -378,7 +378,7 @@

Templates

diff --git a/theindex.html b/theindex.html index 2b4642f..d0e3e2e 100644 --- a/theindex.html +++ b/theindex.html @@ -182,7 +182,7 @@

Index

diff --git a/traitor.html b/traitor.html index 10e6ec5..8ef09d1 100644 --- a/traitor.html +++ b/traitor.html @@ -312,8 +312,8 @@

Macros

- Source   -Edit   + Source   +Edit  
@@ -331,8 +331,8 @@

Templates

Emits a converter from T to Traitor[trait] This allows skipping of val.toTrait(trait) - Source   -Edit   + Source   +Edit  
@@ -347,8 +347,8 @@

Templates

Example:

type MyTrait = distinct tuple[bleh: proc(_: Atom, _: int) {.nimcall.}]
 implTrait MyTrait
- Source   -Edit   + Source   +Edit   @@ -378,7 +378,7 @@

Templates

diff --git a/traitor.idx b/traitor.idx index 4f3af03..abfafc4 100644 --- a/traitor.idx +++ b/traitor.idx @@ -11,6 +11,6 @@ nim StaticTraitor traitor.html#StaticTraitor type StaticTraitor 121 nim AnyTraitor traitor.html#AnyTraitor type AnyTraitor 124 nim setProc traitor.html#setProc.t,TypedTraitor[T,Trait],untyped,proc template setProc[T, Trait](traitor: TypedTraitor[T, Trait]; name: untyped; prc: proc) 160 nim getData traitor.html#getData,Traitor[Traits],typedesc[T] proc getData[T; Traits](tratr: Traitor[Traits]; __520093856: typedesc[T]): var T 166 -nim implTrait traitor.html#implTrait.t,typedesc[ValidTraitor] template implTrait(trait: typedesc[ValidTraitor]) 381 -nim emitConverter traitor.html#emitConverter.t,typedesc,typedesc[ValidTraitor] template emitConverter(T: typedesc; trait: typedesc[ValidTraitor]) 417 -nim joinTraits traitor.html#joinTraits.m,varargs[typed] macro joinTraits(traits: varargs[typed]): untyped 438 +nim implTrait traitor.html#implTrait.t,typedesc[ValidTraitor] template implTrait(trait: typedesc[ValidTraitor]) 386 +nim emitConverter traitor.html#emitConverter.t,typedesc,typedesc[ValidTraitor] template emitConverter(T: typedesc; trait: typedesc[ValidTraitor]) 422 +nim joinTraits traitor.html#joinTraits.m,varargs[typed] macro joinTraits(traits: varargs[typed]): untyped 443 diff --git a/traitor/streams.html b/traitor/streams.html index c882ffe..b3c7a31 100644 --- a/traitor/streams.html +++ b/traitor/streams.html @@ -490,8 +490,8 @@

Procs

Converts a type to traitType ensuring it implements procedures This creates a ref type and moves val to it - Source   -Edit   + Source   +Edit  
@@ -566,7 +566,7 @@

Procs

diff --git a/traitor/streams.idx b/traitor/streams.idx index fb003aa..9f02c42 100644 --- a/traitor/streams.idx +++ b/traitor/streams.idx @@ -6,7 +6,7 @@ nim PrimitiveAtom traitor/streams.html#PrimitiveAtom type PrimitiveAtom 57 nim onlyPrimitives traitor/streams.html#onlyPrimitives,typedesc[PrimitiveAtom] proc onlyPrimitives(val: typedesc[PrimitiveAtom]) 60 nim onlyPrimitives traitor/streams.html#onlyPrimitives,typedesc[array[Idx,T]] proc onlyPrimitives[Idx, T](val: typedesc[array[Idx, T]]) 64 nim Primitive traitor/streams.html#Primitive type Primitive 74 -nim toTrait traitor/streams.html#toTrait,sinkT, proc toTrait[T; Constraint: StreamTrait](val`gensym0: sink T;\n traitTyp`gensym0: typedesc[Constraint]): auto 404 +nim toTrait traitor/streams.html#toTrait,sinkT, proc toTrait[T; Constraint: StreamTrait](val`gensym0: sink T;\n traitTyp`gensym0: typedesc[Constraint]): auto 409 nim readData traitor/streams.html#readData,Traitor[StreamTrait],pointer,int proc readData(param0: Traitor[StreamTrait]; param1: pointer; param2: int): int 89 nim writeData traitor/streams.html#writeData,Traitor[StreamTrait],pointer,int proc writeData(param0: Traitor[StreamTrait]; param1: pointer; param2: int): int 89 nim setPos traitor/streams.html#setPos,Traitor[StreamTrait],int proc setPos(param0: Traitor[StreamTrait]; param1: int) 89