Fill out API more.

This commit is contained in:
David Anderson
2014-06-24 01:18:16 -07:00
parent ec61d4d188
commit fac52a2897
4 changed files with 22 additions and 5 deletions
+11 -2
View File
@@ -1040,16 +1040,25 @@ namespace SourcePawn
/**
* @brief Initiate a stop command.
*
* @param render Function to render any help messages.
*/
virtual void Stop() = 0;
virtual void Stop(void (*render)(const char *fmt, ...)) = 0;
/**
* @brief Returns whether or not a profiler is active.
* @brief Returns whether or not the profiler is currently profiling.
*
* @return True if active, false otherwise.
*/
virtual bool IsActive() = 0;
/**
* @brief Returns whether the profiler is attached.
*
* @return True if attached, false otherwise.
*/
virtual bool IsAttached() = 0;
/**
* @brief Registers JIT code with the profiler.
*