plugins/include/functions.inc
changeset 872 12482c6bb8b3
parent 815 8946ca39d52b
child 926 b42be6b5f221
     1.1 --- a/plugins/include/functions.inc	Fri Jun 01 04:43:31 2007 +0000
     1.2 +++ b/plugins/include/functions.inc	Fri Jun 01 06:31:02 2007 +0000
     1.3 @@ -224,7 +224,6 @@
     1.4   */
     1.5  native Call_PushCellRef(&any:value);
     1.6  
     1.7 -
     1.8  /**
     1.9   * Pushes a float onto the current call.
    1.10   *
    1.11 @@ -401,7 +400,7 @@
    1.12   * @return					Cell value at the parameter number.
    1.13   * @error					Invalid parameter number or calling from a non-native function.
    1.14   */
    1.15 -native GetNativeCell(param);
    1.16 +native any:GetNativeCell(param);
    1.17  
    1.18  /**
    1.19   * Gets a cell from a native parameter, by reference.
    1.20 @@ -410,7 +409,7 @@
    1.21   * @return					Cell value at the parameter number.
    1.22   * @error					Invalid parameter number or calling from a non-native function.
    1.23   */
    1.24 -native GetNativeCellRef(param);
    1.25 +native any:GetNativeCellRef(param);
    1.26  
    1.27  /**
    1.28   * Sets a cell from a native parameter, by reference.
    1.29 @@ -468,6 +467,11 @@
    1.30  						  String:out_string[]="",
    1.31  						  const String:fmt_string[]="");
    1.32  
    1.33 +/**
    1.34 + * Backwards compatibility stock - use GetNativeCell or GetNativeCellRef
    1.35 + *
    1.36 + * @deprecated
    1.37 + */
    1.38  stock Float:GetNativeFloat(param, bool:byref)
    1.39  {
    1.40  	if (!byref)
    1.41 @@ -477,6 +481,12 @@
    1.42  		return Float:GetNativeCellRef(param);
    1.43  	}
    1.44  }
    1.45 +
    1.46 +/**
    1.47 + * Backwards compatibility stock - use GetNativeCell or GetNativeCellRef
    1.48 + *
    1.49 + * @deprecated
    1.50 + */
    1.51  stock Handle:GetNativeHandle(param, bool:byref)
    1.52  {
    1.53  	if (!byref)