Difference between revisions of "ISInterface:FindLSType"
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
+ | == Syntax == | ||
+ | *LSType *FindLSType(char *Name) | ||
== Purpose == | == Purpose == | ||
− | + | Find a data type definition | |
== Usage == | == Usage == | ||
=== Parameters === | === Parameters === | ||
+ | *char *Name | ||
+ | :'''[in]''' Name of the LS type | ||
=== Return Value === | === Return Value === | ||
− | + | *LSType | |
+ | :Returns a pointer to a data type definition | ||
== Examples == | == Examples == | ||
− | + | ;Example code | |
+ | pStringType=pISInterface->FindLSType("string"); | ||
+ | pIntType=pISInterface->FindLSType("int"); | ||
+ | pBoolType=pISInterface->FindLSType("bool"); | ||
+ | pFloatType=pISInterface->FindLSType("float"); | ||
+ | pTimeType=pISInterface->FindLSType("time"); | ||
+ | pByteType=pISInterface->FindLSType("byte"); | ||
+ | pIntPtrType=pISInterface->FindLSType("intptr"); | ||
+ | pBoolPtrType=pISInterface->FindLSType("boolptr"); | ||
+ | pFloatPtrType=pISInterface->FindLSType("floatptr"); | ||
+ | pBytePtrType=pISInterface->FindLSType("byteptr"); | ||
== See Also == | == See Also == | ||
* [[ISXDK:ISInterface|ISInterface]] | * [[ISXDK:ISInterface|ISInterface]] | ||
+ | *[[ISInterface:RemoveLSType|RemoveLSType]] | ||
+ | *[[ISInterface:AddLSType|AddLSType]] | ||
[[Category:ISXDK]] | [[Category:ISXDK]] | ||
[[Category:ISInterface]] | [[Category:ISInterface]] |
Latest revision as of 01:33, 2 September 2005
Syntax
- LSType *FindLSType(char *Name)
Purpose
Find a data type definition
Usage
Parameters
- char *Name
- [in] Name of the LS type
Return Value
- LSType
- Returns a pointer to a data type definition
Examples
- Example code
pStringType=pISInterface->FindLSType("string"); pIntType=pISInterface->FindLSType("int"); pBoolType=pISInterface->FindLSType("bool"); pFloatType=pISInterface->FindLSType("float"); pTimeType=pISInterface->FindLSType("time"); pByteType=pISInterface->FindLSType("byte"); pIntPtrType=pISInterface->FindLSType("intptr"); pBoolPtrType=pISInterface->FindLSType("boolptr"); pFloatPtrType=pISInterface->FindLSType("floatptr"); pBytePtrType=pISInterface->FindLSType("byteptr");