mirror of
				https://github.com/eledio-devices/thirdparty-ArduinoJson.git
				synced 2025-10-31 16:14:11 +01:00 
			
		
		
		
	Merged the two StringBuilder classes into one
This commit is contained in:
		| @@ -19,7 +19,9 @@ class MemoryPool { | ||||
|  public: | ||||
|   // Allocates n bytes in the MemoryPool. | ||||
|   // Return a pointer to the allocated memory or NULL if allocation fails. | ||||
|   virtual void *alloc(size_t size) = 0; | ||||
|   virtual char *alloc(size_t size) = 0; | ||||
|  | ||||
|   virtual char *realloc(char *oldPtr, size_t oldSize, size_t newSize) = 0; | ||||
|  | ||||
|  protected: | ||||
|   // CAUTION: NO VIRTUAL DESTRUCTOR! | ||||
|   | ||||
		Reference in New Issue
	
	Block a user