foreign.h   foreign.h 
skipping to change at line 33 skipping to change at line 33
#ifndef __GJS_OVERRIDE_H__ #ifndef __GJS_OVERRIDE_H__
#define __GJS_OVERRIDE_H__ #define __GJS_OVERRIDE_H__
#include <girepository.h> #include <girepository.h>
#include <gjs/gjs.h> #include <gjs/gjs.h>
#include "arg.h" #include "arg.h"
typedef JSBool (*GjsArgOverrideToGArgumentFunc) (JSContext *context, typedef JSBool (*GjsArgOverrideToGArgumentFunc) (JSContext *context,
jsval value, jsval value,
GITypeInfo *type_info,
const char *arg_name, const char *arg_name,
GjsArgumentType argument_t ype, GjsArgumentType argument_t ype,
GITransfer transfer, GITransfer transfer,
gboolean may_be_nul l, gboolean may_be_nul l,
GArgument *arg); GArgument *arg);
typedef JSBool (*GjsArgOverrideFromGArgumentFunc) (JSContext *context, typedef JSBool (*GjsArgOverrideFromGArgumentFunc) (JSContext *context,
jsval *value_p, jsval *value_p,
GITypeInfo *type_info,
GArgument *arg); GArgument *arg);
typedef JSBool (*GjsArgOverrideReleaseGArgumentFunc) (JSContext *context, typedef JSBool (*GjsArgOverrideReleaseGArgumentFunc) (JSContext *context,
GITransfer transfer, GITransfer transfer,
GITypeInfo *type_info ,
GArgument *arg); GArgument *arg);
typedef struct { typedef struct {
GjsArgOverrideToGArgumentFunc to_func; GjsArgOverrideToGArgumentFunc to_func;
GjsArgOverrideFromGArgumentFunc from_func; GjsArgOverrideFromGArgumentFunc from_func;
GjsArgOverrideReleaseGArgumentFunc release_func; GjsArgOverrideReleaseGArgumentFunc release_func;
} GjsForeignInfo; } GjsForeignInfo;
JSBool gjs_struct_foreign_register (const char *nam espace, JSBool gjs_struct_foreign_register (const char *nam espace,
const char *typ e_name, const char *typ e_name,
GjsForeignInfo *info); GjsForeignInfo *info);
JSBool gjs_struct_foreign_convert_to_g_argument (JSContext *con text, JSBool gjs_struct_foreign_convert_to_g_argument (JSContext *con text,
jsval val ue, jsval val ue,
GITypeInfo *typ e_info, GIBaseInfo *int erface_info,
const char *arg _name, const char *arg _name,
GjsArgumentType arg ument_type, GjsArgumentType arg ument_type,
GITransfer tra nsfer, GITransfer tra nsfer,
gboolean may _be_null, gboolean may _be_null,
GArgument *arg ); GArgument *arg );
JSBool gjs_struct_foreign_convert_from_g_argument (JSContext *con text, JSBool gjs_struct_foreign_convert_from_g_argument (JSContext *con text,
jsval *val ue_p, jsval *val ue_p,
GITypeInfo *typ e_info, GIBaseInfo *int erface_info,
GArgument *arg ); GArgument *arg );
JSBool gjs_struct_foreign_release_g_argument (JSContext *con text, JSBool gjs_struct_foreign_release_g_argument (JSContext *con text,
GITransfer tra nsfer, GITransfer tra nsfer,
GITypeInfo *typ e_info, GIBaseInfo *int erface_info,
GArgument *arg ); GArgument *arg );
#endif /* __GJS_OVERRIDE_H__ */ #endif /* __GJS_OVERRIDE_H__ */
 End of changes. 6 change blocks. 
6 lines changed or deleted 3 lines changed or added

This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/