]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commitdiff
Update OffscreenGecko headers again
authorres <res@d7cf8633-e32d-0410-b094-e92efae38249>
Tue, 22 Jan 2008 17:38:35 +0000 (17:38 +0000)
committerres <res@d7cf8633-e32d-0410-b094-e92efae38249>
Tue, 22 Jan 2008 17:38:35 +0000 (17:38 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7990 d7cf8633-e32d-0410-b094-e92efae38249

cl_gecko.c

index 05d7436e7518effd93240c1b798d51846964dfc8..d685c22415f2027c6608faa9c2c75a18b59e2ab2 100644 (file)
@@ -231,6 +231,11 @@ typedef enum OSGK_AntiAliasType
 static void (*osgk_browser_resize) (OSGK_Browser* browser,
   int width, int height);
 
+/*static int (*osgk_browser_set_user_data) (OSGK_Browser* browser,
+  unsigned int key, void* data, int overrideData);*/
+/*static int (*osgk_browser_get_user_data) (OSGK_Browser* browser,
+  unsigned int key, void** data);*/
+
 /* OffscreenGecko/string.h */
 OSGK_DERIVEDTYPE(OSGK_String);
 
@@ -325,6 +330,7 @@ typedef enum OSGK_ScriptResult
 typedef struct OSGK_ScriptObjectCreateParams_s
 {
   void* createParam;
+  OSGK_Browser* browser;
 } OSGK_ScriptObjectCreateParams;
 
 typedef OSGK_ScriptResult (*OSGK_CreateObjFunc) (