mirror of
https://github.com/gnustep/libs-gdl2.git
synced 2025-05-30 17:01:05 +00:00
* Documentation/GDL2Intro/Examples: Move to ...
* Examples: ... here. * Examples/GNUmakefile: Adapt to new location. * Documentation/GDL2Intro/GNUmakefile: Remove subproject. * Documentation/GDL2Intro/GDL2Intro.texi: Update references to new location. * Trading: Move to ... * Examples/Trading: ... here. * Examples/Trading/GNUmakefile: Adapte to new location. * Examples/GNUmakefile: Add Trading. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@27918 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
16a7167a05
commit
a73ec2fc35
32 changed files with 32 additions and 18 deletions
18
Examples/Trading/create.m
Normal file
18
Examples/Trading/create.m
Normal file
|
@ -0,0 +1,18 @@
|
|||
#include "Trading.h"
|
||||
#include "TradingData.h"
|
||||
|
||||
int main()
|
||||
{
|
||||
NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];
|
||||
id trading = [[Trading alloc] init];
|
||||
id data = [[TradingData alloc] init];
|
||||
|
||||
[trading recreateTables];
|
||||
[data fillTables];
|
||||
[data saveChanges];
|
||||
|
||||
[trading release];
|
||||
[data release];
|
||||
[pool release];
|
||||
return 0;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue