otInstance Declarations (#473)

* Add otInstance type declaration and update ot APIs to take it as input.
This commit is contained in:
Nick Banks
2016-09-12 14:29:43 -07:00
committed by Jonathan Hui
parent 9b1de7bbb2
commit ffbe65c6dd
67 changed files with 1560 additions and 1099 deletions
+3 -2
View File
@@ -39,7 +39,6 @@
extern "C" {
#endif
/**
* This function performs all platform-specific initialization.
*
@@ -49,8 +48,10 @@ void PlatformInit(int argc, char *argv[]);
/**
* This function performs all platform-specific processing.
*
* @param[in] aInstance The OpenThread instance structure.
*
*/
void PlatformProcessDrivers(void);
void PlatformProcessDrivers(otInstance *aInstance);
#ifdef __cplusplus
} // end of extern "C"