aboutsummaryrefslogtreecommitdiff
path: root/Gem/develop/include
diff options
context:
space:
mode:
authorTravis CI <zmoelnig@travis-ci.umlaeute.mur.at>2018-09-09 20:00:51 +0000
committerTravis CI <zmoelnig@travis-ci.umlaeute.mur.at>2018-09-09 20:00:51 +0000
commit34e08cac7c096b481b6d09ac507dc3a9d631f701 (patch)
treef36bd67c91e2d29a0f2fbe4cf228c504fa7167a9 /Gem/develop/include
parent389166bccca9b6455fbec8ab926abd3fe42d1950 (diff)
Gem 504da729f28c5fe72528b5455e410a77245a37d4 linux/amd64
built 'master:504da729f28c5fe72528b5455e410a77245a37d4' for linux/amd64
Diffstat (limited to 'Gem/develop/include')
-rw-r--r--Gem/develop/include/Gem/Base/CPPExtern.h2
-rw-r--r--Gem/develop/include/Gem/Gem/Event.h4
-rw-r--r--Gem/develop/include/Gem/Gem/Image.h6
3 files changed, 6 insertions, 6 deletions
diff --git a/Gem/develop/include/Gem/Base/CPPExtern.h b/Gem/develop/include/Gem/Base/CPPExtern.h
index 4523eef..de320f9 100644
--- a/Gem/develop/include/Gem/Base/CPPExtern.h
+++ b/Gem/develop/include/Gem/Base/CPPExtern.h
@@ -116,7 +116,7 @@ public:
//////////
// my name
- static char *m_holdname;
+ static const char *m_holdname;
t_symbol *m_objectname;
protected:
diff --git a/Gem/develop/include/Gem/Gem/Event.h b/Gem/develop/include/Gem/Gem/Event.h
index 6024ec8..1200296 100644
--- a/Gem/develop/include/Gem/Gem/Event.h
+++ b/Gem/develop/include/Gem/Gem/Event.h
@@ -71,7 +71,7 @@ GEM_EXTERN extern void removeWheelCallback(WHEEL_CB callback, void *data);
// Keyboard callback
//
//////////////////////////////////////////////////////////////////
-typedef void (*KEYBOARD_CB)(char *,int, int, void *);
+typedef void (*KEYBOARD_CB)(const char *,int, int, void *);
//////////
// Set a keyboard callback
GEM_EXTERN extern void setKeyboardCallback(KEYBOARD_CB callback,
@@ -103,7 +103,7 @@ GEM_EXTERN extern void triggerMotionEvent(int x, int y);
GEM_EXTERN extern void triggerButtonEvent(int which, int state, int x,
int y);
GEM_EXTERN extern void triggerWheelEvent(int axis, int value);
-GEM_EXTERN extern void triggerKeyboardEvent(char *string, int value,
+GEM_EXTERN extern void triggerKeyboardEvent(const char *string, int value,
int state);
GEM_EXTERN extern void triggerResizeEvent(int xSize, int ySize);
diff --git a/Gem/develop/include/Gem/Gem/Image.h b/Gem/develop/include/Gem/Gem/Image.h
index 6bad705..bf61aef 100644
--- a/Gem/develop/include/Gem/Gem/Image.h
+++ b/Gem/develop/include/Gem/Gem/Image.h
@@ -289,11 +289,11 @@ struct GEM_EXTERN pixBlock {
///////////////////////////////////////////////////////////////////////////////
//////////
// copies all of the data over and mallocs memory
-GEM_EXTERN extern void copy2Image(imageStruct *to, imageStruct *from);
+GEM_EXTERN extern void copy2Image(imageStruct *to, const imageStruct *from);
//////////
// assumes that it only has to refresh the data
-GEM_EXTERN extern void refreshImage(imageStruct *to, imageStruct *from);
+GEM_EXTERN extern void refreshImage(imageStruct *to, const imageStruct *from);
-GEM_EXTERN extern int getPixFormat(char*);
+GEM_EXTERN extern int getPixFormat(const char*);
#endif // GEMPIXUTIL_H_