Artifact 268bf2ce8cf64e636832fc85f6d998b8a93276c06d433f553c49044ec1b50a0d:
- File tests/plugin/TestPlugin.m — part of check-in [a3cc34b139] at 2009-11-09 22:45:13 on branch trunk — Rename libobjfw to ObjFW. (user: js, size: 482) [annotate] [blame] [check-ins using]
/* * Copyright (c) 2008 - 2009 * Jonathan Schleifer <js@webkeks.org> * * All rights reserved. * * This file is part of ObjFW. It may be distributed under the terms of the * Q Public License 1.0, which can be found in the file LICENSE included in * the packaging of this file. */ #include "config.h" #import "TestPlugin.h" @implementation TestPlugin - (int)test: (int)num { return num * 2; } @end id init_plugin() { return [[[TestPlugin alloc] init] autorelease]; }