Add java wrapper

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/performance/trunk@22005 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Richard Frith-Macdonald 2005-11-14 19:57:02 +00:00
parent 3e5c62cd14
commit e72c0812c0
2 changed files with 38 additions and 0 deletions

View file

@ -53,6 +53,10 @@ Performance_HEADER_FILES_INSTALL_DIR = Performance
-include GNUmakefile.preamble
include $(GNUSTEP_MAKEFILES)/library.make
# If JIGS is installed, automatically generate Java wrappers as well.
# Because of the '-', should not complain if java-wrapper.make can't be
# found ... simply skip generation of java wrappers in that case.
-include $(GNUSTEP_MAKEFILES)/java-wrapper.make
include $(GNUSTEP_MAKEFILES)/test-tool.make
include $(GNUSTEP_MAKEFILES)/documentation.make

34
Performance.jigs Normal file
View file

@ -0,0 +1,34 @@
{ /* -*-c-*- */
"prerequisite libraries" = (
"gnustep-base"
);
types = {
NSTimeInterval = double;
};
classes = (
{
"java name" = "gnu.gnustep.Performance.GSCache";
"objective-c name" = "GSCache";
"class methods" = (
"allInstances"
);
"instance methods" = (
"currentObjects",
"currentSize",
"lifetime",
"maxObjects",
"maxSize",
"name",
"objectForKey:",
"purge",
"setLifetime:",
"setMaxObjects:",
"setMaxSize:",
"setName:",
"setObject:forKey:",
"setObject:forKey:lifetime:",
"shrinkObjects:andSize:"
);
},
);
}