Skip to content
Permalink
Browse files

small documentation fixes - no functional change

  • Loading branch information...
Arnaud Bouchez
Arnaud Bouchez committed Jun 25, 2019
1 parent 55b16cf commit 4ac7a94719e44ce85ffa52bef72fef2be7bfc004
Showing with 8 additions and 7 deletions.
  1. +5 −5 SQLite3/mORMotWrappers.pas
  2. +1 −0 SynCrtSock.pas
  3. +1 −1 SynFPCLinux.pas
  4. +1 −1 SynopseCommit.inc
@@ -1,4 +1,4 @@
/// service to generate mORMot cross-platform clients code from the server
/// generate cross-platform clients code and documentation from a mORMot server
// - this unit is a part of the freeware Synopse mORMot framework,
// licensed under a MPL/GPL/LGPL tri-license; version 1.18
unit mORMotWrappers;
@@ -421,10 +421,10 @@ TWrapperContext = class
function ContextArgsFromMethod(const meth: TServiceMethod): variant;
procedure AddUnit(const aUnitName: ShortString; addAsProperty: PVariant);
public
constructor Create(const aDescriptions: TFileName='');
constructor Create(const aDescriptions: TFileName);
constructor CreateFromModel(aServer: TSQLRestServer; const aSourcePath: TFileName;
const aDescriptions: TFileName='');
constructor CreateFromUsedInterfaces(const aDescriptions: TFileName='');
const aDescriptions: TFileName);
constructor CreateFromUsedInterfaces(const aDescriptions: TFileName);
function Context: variant;
end;

@@ -1313,7 +1313,7 @@ procedure ComputeFPCInterfacesUnit(const Path: array of TFileName;
DestFileName := 'mORMotInterfaces.pas' else
if DestFileName[1]=PathDelim then
DestFileName := ExtractFilePath(TemplateName)+DestFileName;
with TWrapperContext.CreateFromUsedInterfaces do
with TWrapperContext.CreateFromUsedInterfaces('') do
try
ctxt := Context;
finally
@@ -2052,6 +2052,7 @@ THttpServer = class(THttpServerGeneric)
// - e.g. 'http://unix:/path/to/socket.sock:/url/path'
Layer: TCrtSocketLayer;
/// fill the members from a supplied URI
// - returns TRUE is at least the Server has been extracted, FALSE on error
function From(aURI: SockString; const DefaultPort: SockString=''): boolean;
/// compute the whole normalized URI
function URI: SockString;
@@ -78,7 +78,7 @@ procedure DeleteCriticalSection(var cs : TRTLCriticalSection); inline;

{$ifdef LINUX}

/// used by TSynMonitorMemory.RetrieveMemoryInfo to compute the sizes in byte
/// used by SynCommons to compute the sizes in byte
function getpagesize: Integer; cdecl; external 'c';

/// compatibility function, wrapping Win32 API high resolution timer
@@ -1 +1 @@
'1.18.5256'
'1.18.5257'

0 comments on commit 4ac7a94

Please sign in to comment.
You can’t perform that action at this time.