Skip to content

Commit c4a25d7

Browse files
committed
__precompile__() is now the default on 0.7
1 parent 4b31ce2 commit c4a25d7

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

docs/src/index.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,13 +77,12 @@ load-time latency (useful for real-life applications!) by generating the ROS typ
7777
modules inside your package module using an approach similar to the example below:
7878

7979
# MyROSPackage.jl
80-
__precompile__()
8180
module MyROSPackage
8281

8382
using RobotOS
8483

8584
@rosimport geometry_msgs.msg: Pose
86-
rostypegen(current_module())
85+
rostypegen(@__MODULE__)
8786
import .geometry_msgs.msg: Pose
8887
# ...
8988

src/RobotOS.jl

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
__precompile__()
2-
3-
41
module RobotOS
52

63
using PyCall

0 commit comments

Comments
 (0)