[Xfce4-commits] <glib-objc:no-foundation-dep> remove GOCBoxedValue. i think i don't want to expose boxed types
Brian J. Tarricone
noreply at xfce.org
Sun Nov 22 04:02:19 CET 2009
Updating branch refs/heads/no-foundation-dep
to d5c7bec9bec6f9b8eade690b3c08d67211def16d (commit)
from e8299b7a669ae9f65298ee9fd3133ddd2c5ac852 (commit)
commit d5c7bec9bec6f9b8eade690b3c08d67211def16d
Author: Brian J. Tarricone <brian at tarricone.org>
Date: Mon Jul 13 12:34:26 2009 -0700
remove GOCBoxedValue. i think i don't want to expose boxed types
gobject-objc/GOCBoxedValue.h | 43 -------------------------------
gobject-objc/GOCBoxedValue.m | 58 ------------------------------------------
gobject-objc/Makefile.am | 2 -
3 files changed, 0 insertions(+), 103 deletions(-)
diff --git a/gobject-objc/GOCBoxedValue.h b/gobject-objc/GOCBoxedValue.h
deleted file mode 100644
index d0e9647..0000000
--- a/gobject-objc/GOCBoxedValue.h
+++ /dev/null
@@ -1,43 +0,0 @@
-/*
- * glib-objc - objective-c bindings for glib/gobject
- *
- * Copyright (c) 2008-2009 Brian Tarricone <brian at tarricone.org>
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as published
- * by the Free Software Foundation; version 2 of the License ONLY.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Library General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
- */
-
-#ifndef __GOC_BOXED_VALUE_H__
-#define __GOC_BOXED_VALUE_H__
-
-#if !defined(GLIB_OBJC_COMPILATION) && !defined(__IN_GOBJECT_OBJC_H)
-#error "Do not include GOCBoxedValue.h directly, as this file may change or disappear in the future. Include <gobject-objc.h> instead."
-#endif
-
-
- at interface GOCBoxedValue : NSValue
-{
- at private
- gpointer _boxedValue;
-}
-
-+ (id)valueWithBoxed:(gpointer)boxedValue;
-
-- (id)initWithBoxed:(gpointer)boxedValue;
-
-- (gpointer)boxedValue;
-
- at end
-
-#endif /* __GLIB_OBJC_BOXED_VALUE_H__ */
-
diff --git a/gobject-objc/GOCBoxedValue.m b/gobject-objc/GOCBoxedValue.m
deleted file mode 100644
index 9fca143..0000000
--- a/gobject-objc/GOCBoxedValue.m
+++ /dev/null
@@ -1,58 +0,0 @@
-/*
- * glib-objc - objective-c bindings for glib/gobject
- *
- * Copyright (c) 2008-2009 Brian Tarricone <brian at tarricone.org>
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as published
- * by the Free Software Foundation; version 2 of the License ONLY.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Library General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
- */
-
-#ifdef HAVE_CONFIG_H
-#include <config.h>
-#endif
-
-#include <glib.h>
-
-#import "GLIBBoxedValue.h"
-
- at implementation GLIBBoxedValue
-
-+ (id)valueWithBoxed:(gpointer)boxedValue
-{
- return [[[GLIBBoxedValue alloc] initWithBoxed:boxedValue] autorelease];
-}
-
-- (id)initWithBoxed:(gpointer)boxedValue
-{
- if((self = [super init]))
- _boxedValue = boxedValue;
-
- return self;
-}
-
-- (id)init
-{
- return [self initWithBoxed:nil];
-}
-
-- (gpointer)boxedValue
-{
- return _boxedValue;
-}
-
-- (const char *)objCType
-{
- return @encode(gpointer);
-}
-
- at end
diff --git a/gobject-objc/Makefile.am b/gobject-objc/Makefile.am
index 6de9855..b8bcc52 100644
--- a/gobject-objc/Makefile.am
+++ b/gobject-objc/Makefile.am
@@ -5,7 +5,6 @@ glibobjcmaininclude_HEADERS = \
gobject-objc.h
gobjectobjcincludedir = $(glibobjcmainincludedir)/gobject-objc
gobjectobjcinclude_HEADERS = \
- GOCBoxedValue.h \
GOCClosure.h \
GOCObject.h \
GOCNumber.h \
@@ -14,7 +13,6 @@ gobjectobjcinclude_HEADERS = \
libgobject_objc_2_0_la_SOURCES = \
$(gobjectobjcmaininclude_HEADERS) \
$(gobjectobjcinclude_HEADERS) \
- GOCBoxedValue.m \
GOCClosure.m \
GOCObject.m \
GOCNumber.m \
More information about the Xfce4-commits
mailing list