Electronics & Programming

develissimo

Open Source electronics development and programming

  • You are not logged in.

#1 Dec. 22, 2010 17:12:58

Mathias G.
Registered: 2009-11-02
Reputation: +  0  -
Profile   Send e-mail  

RFC - MACRO


I want to request a C/C++ feature that i think is good.

MACRO

<?php
MACRO('PF','private function _');
MACRO('SCOPE_CLASS','class MyProject_');

class UseMacro
{
PF preSave($object)
{
//...
}

}

SCOPE_CLASS Internal
{

}

I don know if there is a RFC for this feature.

Offline

#2 Dec. 22, 2010 17:18:16

Mathias G.
Registered: 2009-11-02
Reputation: +  0  -
Profile   Send e-mail  

RFC - MACRO


<?php
MACRO('TE','throw new Excpeption();');

function test($var) {
if ($var < 0) {
TE
}
}



On Wed, Dec 22, 2010 at 3:11 PM, Mathias Grimm <mathiasgr***@*mail.com>wrote:

> I want to request a C/C++ feature that i think is good.
>
> MACRO
>
> <?php
> MACRO('PF','private function _');
> MACRO('SCOPE_CLASS','class MyProject_');
>
> class UseMacro
> {
> PF preSave($object)
> {
> //...
> }
>
> }
>
> SCOPE_CLASS Internal
> {
>
> }
>
> I don know if there is a RFC for this feature.
>

Offline

Board footer

Moderator control

Enjoy the 23rd of October
PoweredBy

The Forums are managed by develissimo stuff members, if you find any issues or misplaced content please help us to fix it. Thank you! Tell us via Contact Options
Leave a Message
Welcome to Develissimo Live Support