Skip to content

Commit c0a4ac0

Browse files
committed
documentation tweaks
1 parent e2a396a commit c0a4ac0

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,8 @@ This allows for `cc` with spaces in it.
5151
## ppflags
5252

5353
The C pre-processor flags. This may change in the future, or on some platforms, but as of
54-
this writing this is `-dM -E -x c` for C and `-dM -E -x c++` for C++. This must be an
55-
array reference.
54+
this writing this is `['-dM', '-E', '-x', 'c']` for C and `['-dM', '-E', '-x', 'c++']`
55+
for C++. This must be an array reference.
5656

5757
## cflags
5858

@@ -95,7 +95,7 @@ my $const = $c->get_single($name);
9595
```
9696

9797
Get a single constant by the name of `$name`. Returns an instance of
98-
[Const::Introspect::C](https://metacpan.org/pod/Const::Introspect::C). This is most useful for getting the integer
98+
[Const::Introspect::C::Constant](https://metacpan.org/pod/Const::Introspect::C::Constant). This is most useful for getting the integer
9999
values for named enumerated values.
100100

101101
## compute\_expression\_type

lib/Const/Introspect/C.pm

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -89,8 +89,8 @@ has cc => (
8989
=head2 ppflags
9090
9191
The C pre-processor flags. This may change in the future, or on some platforms, but as of
92-
this writing this is C<-dM -E -x c> for C and C<-dM -E -x c++> for C++. This must be an
93-
array reference.
92+
this writing this is C<< ['-dM', '-E', '-x', 'c'] >> for C and C<< ['-dM', '-E', '-x', 'c++'] >>
93+
for C++. This must be an array reference.
9494
9595
=cut
9696

@@ -273,7 +273,7 @@ sub get_macro_constants ($self)
273273
my $const = $c->get_single($name);
274274
275275
Get a single constant by the name of C<$name>. Returns an instance of
276-
L<Const::Introspect::C>. This is most useful for getting the integer
276+
L<Const::Introspect::C::Constant>. This is most useful for getting the integer
277277
values for named enumerated values.
278278
279279
=cut

0 commit comments

Comments
 (0)