Quellcode durchsuchen

Removed unused obj parameter in TGlobal methods

FireballStarfish vor 1 Jahr
Ursprung
Commit
64cc2e6607
1 geänderte Dateien mit 3 neuen und 3 gelöschten Zeilen
  1. 3 3
      reflection.mod/reflection.bmx

+ 3 - 3
reflection.mod/reflection.bmx

@@ -1996,7 +1996,7 @@ Type TGlobal Extends TMember
 	bbdoc: Get global value
 	bbdoc: Get global value
 	about: Like @Get, but always returns a @TBoxedValue for value types instead of converting the value to a string.
 	about: Like @Get, but always returns a @TBoxedValue for value types instead of converting the value to a string.
 	End Rem
 	End Rem
-	Method GetBoxed:Object(obj:Object)
+	Method GetBoxed:Object()
 		If _typeId.IsReferenceType() Then
 		If _typeId.IsReferenceType() Then
 			Return bbRefGetObject(_ref)
 			Return bbRefGetObject(_ref)
 		Else
 		Else
@@ -2057,7 +2057,7 @@ Type TGlobal Extends TMember
 	bbdoc: Get global value as struct
 	bbdoc: Get global value as struct
 	about: @targetPtr must be a pointer to a variable of the correct struct type.
 	about: @targetPtr must be a pointer to a variable of the correct struct type.
 	EndRem
 	EndRem
-	Method GetStruct(obj:Object, targetPtr:Byte Ptr)
+	Method GetStruct(targetPtr:Byte Ptr)
 		If Not _typeId.IsStruct() Then Throw "Global type is not a struct"
 		If Not _typeId.IsStruct() Then Throw "Global type is not a struct"
 		MemCopy targetPtr, _ref, Size_T _typeId._size
 		MemCopy targetPtr, _ref, Size_T _typeId._size
 	EndMethod
 	EndMethod
@@ -2122,7 +2122,7 @@ Type TGlobal Extends TMember
 	bbdoc: Set field value from struct
 	bbdoc: Set field value from struct
 	about: @structPtr must be a pointer to a variable of the correct struct type.
 	about: @structPtr must be a pointer to a variable of the correct struct type.
 	EndRem
 	EndRem
-	Method SetStruct(obj:Object, structPtr:Byte Ptr)
+	Method SetStruct(structPtr:Byte Ptr)
 		If Not _typeId.IsStruct() Then Throw "Global type is not a struct"
 		If Not _typeId.IsStruct() Then Throw "Global type is not a struct"
 		MemCopy _ref, structPtr, Size_T _typeId._size
 		MemCopy _ref, structPtr, Size_T _typeId._size
 	EndMethod
 	EndMethod