From 2fa75d0906936fe70254dfe2396e7b4de9880e85 Mon Sep 17 00:00:00 2001 From: Gergely Polonkai Date: Sat, 15 Mar 2014 20:27:05 +0100 Subject: [PATCH] Remove LUA example LUA-LGI seems to be buggy with GLists (or I a too lame), thus the example code cannot be reproduced in LUA yet. --- examples/basic.lua | 17 ----------------- 1 file changed, 17 deletions(-) delete mode 100644 examples/basic.lua diff --git a/examples/basic.lua b/examples/basic.lua deleted file mode 100644 index ac5a7a1..0000000 --- a/examples/basic.lua +++ /dev/null @@ -1,17 +0,0 @@ -local lgi = require 'lgi' -local SweGlib = lgi.require('SweGlib', '2.0') - -SweGlib.init() - -local timestamp = SweGlib.Timestamp.new() -timestamp:set_gregorian_full(1983, 3, 7, 11, 54, 45, 0, 1) - -local moment = SweGlib.Moment.new() -moment:set_timestamp(timestamp) -moment:set_timestamp(timestamp) -moment:set_coordinates(19.03990999, 47.49801000, 280) -moment:set_house_system(SweGlib.HouseSystem.PLACIDUS) -moment:add_all_planets() - -local planet = moment:get_planet(SweGlib.Planet.SUN) -io.write(planet:get_position(), "\n")