Skip to content

Commit

Permalink
necessary compiler adjustments
Browse files Browse the repository at this point in the history
  • Loading branch information
vdelachaux committed Oct 23, 2023
1 parent e03a1b3 commit 655bf21
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 23 deletions.
4 changes: 2 additions & 2 deletions Project/Sources/Classes/_DEMO_menus_Controller.4dm
Original file line number Diff line number Diff line change
Expand Up @@ -115,12 +115,12 @@ Function handleEvents($e : cs:C1710.evt)
//==============================================
: (This:C1470.fonts.catch($e))

This:C1470._fontsManager($e)
This:C1470._fontsManager()

//==============================================
: (This:C1470.windows.catch($e))

This:C1470._windowsManager($e)
This:C1470._windowsManager()

//==============================================
: (This:C1470.attachMenu.catch($e))
Expand Down
12 changes: 3 additions & 9 deletions Project/Sources/Classes/formDelegate.4dm
Original file line number Diff line number Diff line change
Expand Up @@ -505,7 +505,7 @@ Function set worker($worker)

// === === === === === === === === === === === === === === === === === === === === === === === === === ===
/// Assigns a task to the associated worker
Function callWorker($method; $param; $param1; $paramN)
Function callWorker($method; $param; ... )

Check failure on line 508 in Project/Sources/Classes/formDelegate.4dm

View workflow job for this annotation

GitHub Actions / Build

Function 'formDelegate.callWorker' declaration syntax error

/**
.callWorker ( method : Text )
Expand All @@ -520,8 +520,6 @@ Function callWorker($method; $param; $param1; $paramN)
// .callWorker ( process : Integer ; method : Text ; param1, param2, …, paramN )
// ---------------------------------------------------------------------------------

C_VARIANT:C1683(${2})

var $code : Text
var $i : Integer
var $parameters : Collection
Expand Down Expand Up @@ -749,16 +747,14 @@ Function callMeBack($param; $param1; $paramN)

// === === === === === === === === === === === === === === === === === === === === === === === === === ===
/// Generates a callback of the current form with the given method
Function callMe($method : Text; $param; $param1; $paramN)
Function callMe($method : Text; $param; ... )

Check failure on line 750 in Project/Sources/Classes/formDelegate.4dm

View workflow job for this annotation

GitHub Actions / Build

Function 'formDelegate.callMe' declaration syntax error

/*
.callMe ( method : Text )
.callMe ( method : Text ; param : Collection )
.callMe ( method : Text ; param1, param2, …, paramN )
*/

C_VARIANT:C1683(${2})

var $code : Text
var $i : Integer

Expand Down Expand Up @@ -798,16 +794,14 @@ Function callMe($method : Text; $param; $param1; $paramN)

// === === === === === === === === === === === === === === === === === === === === === === === === === ===
/// Executes a project method in the context of a subform (without returned value)
Function callChild($subform; $method : Text; $param; $param1; $paramN)
Function callChild($subform; $method : Text; $param; ... )

Check failure on line 797 in Project/Sources/Classes/formDelegate.4dm

View workflow job for this annotation

GitHub Actions / Build

Function 'formDelegate.callChild' declaration syntax error

// .executeInSubform ( subform : Object | Text ; method : Text )
// .executeInSubform ( subform : Object | Text ; method : Text ; param : Collection )
// .executeInSubform ( subform : Object | Text ; method : Text ; param1, param2, …, paramN )

// TODO:Returned value

C_VARIANT:C1683(${3})

var $code; $target : Text
var $i : Integer

Expand Down
4 changes: 1 addition & 3 deletions Project/Sources/Classes/groupDelegate.4dm
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,7 @@ in this case, all named objects are initialized with widget class

property members : Collection

Class constructor($members : Variant)

C_OBJECT:C1216(${2})
Class constructor($members : Variant; ... )

C_LONGINT:C283($i)
C_TEXT:C284($t)
Expand Down
6 changes: 3 additions & 3 deletions Project/Sources/Classes/hListDelegate.4dm
Original file line number Diff line number Diff line change
Expand Up @@ -40,17 +40,17 @@ Function clear($keepSubLists : Boolean)

// === === === === === === === === === === === === === === === === === === === === === === === === === ===
/// Returns a copy of the current list
Function copy() : cs:C1710.hListDelegate
Function copy() : Integer

If (Asserted:C1132(This:C1470.isList; "No list to duplicate"))

return cs:C1710.hListDelegate.new(Copy list:C626(This:C1470.ref))
return Copy list:C626(This:C1470.ref)

End if

// === === === === === === === === === === === === === === === === === === === === === === === === === ===
/// Alias of copy()
Function clone() : cs:C1710.hListDelegate
Function clone() : Integer

return This:C1470.copy()

Expand Down
3 changes: 1 addition & 2 deletions Project/Sources/Classes/svg.4dm
Original file line number Diff line number Diff line change
Expand Up @@ -2299,8 +2299,7 @@ Function clone($source : Text; $attachTo) : cs:C1710.svg

//———————————————————————————————————————————————————————————
// Create one or more layer at the root of the SVG structure
Function layer($name : Text) : cs:C1710.svg
var ${2} : Text
Function layer($name : Text; ... : Text) : cs:C1710.svg

Check failure on line 2302 in Project/Sources/Classes/svg.4dm

View workflow job for this annotation

GitHub Actions / Build

Function 'svg.layer' declaration syntax error

var $i : Integer

Expand Down
6 changes: 2 additions & 4 deletions Project/Sources/Classes/xml.4dm
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,8 @@ Class constructor($variable)

//———————————————————————————————————————————————————————————
// Creates a XML tree in memory
Function newRef($root : Text)->$this : cs:C1710.xml
Function newRef($root : Text; ... : Text)->$this : cs:C1710.xml

var ${2} : Text
var $t : Text
var $countParam; $i : Integer

Expand Down Expand Up @@ -107,8 +106,7 @@ Function setOption($selector : Integer; $value : Integer)->$this : cs:C1710.xml

//———————————————————————————————————————————————————————————
// Set the value of one or more XML options for the structure
Function setOptions($selector : Integer; $value : Integer)->$this : cs:C1710.xml
var ${3} : Integer
Function setOptions($selector : Integer; $value : Integer; ... : Integer)->$this : cs:C1710.xml

var $i : Integer

Expand Down

0 comments on commit 655bf21

Please sign in to comment.