libsysprof: add versioning macros

This also moves stackstash.[ch] into a location that can be
embedded by both the libsysprof and libsysprof-ui code. We
pass native pointers to the structure as a gpointer in the
public API to allow for this. The performance of that code is
incredibly sensitive to the interactivity of Sysprof.
This commit is contained in:
Christian Hergert
2019-05-08 10:55:29 -07:00
parent 821fc286b8
commit 8b88bfe693
56 changed files with 305 additions and 177 deletions

View File

@ -23,6 +23,7 @@ libsysprof_ui_private_sources = [
'rectangles.c',
'sp-cell-renderer-percent.c',
'sp-theme-manager.c',
'../stackstash.c',
]
libsysprof_ui_public_headers = [

View File

@ -37,9 +37,12 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
#include "config.h"
#include <glib/gi18n.h>
#include "sp-callgraph-profile-private.h"
#include "../stackstash.h"
#include "sp-callgraph-view.h"
#include "sp-cell-renderer-percent.h"